Prompt Name and Text / Caption Properties for New Control

Top  Previous  Next

 VS   VB6   VB5 

The Prompt Name and Text / Caption Properties for New Control feature allows you to be asked for the Name and Text / Caption (if applicable) properties of each control that you add to a form, usercontrol, etc:

PromptNameAndTextPropertiesForNewControl

In this window you enter the Text (Visual Studio) or Caption (VB / VB5 / VBA) property for the new control (if the control has a Text / Caption property). If you want, the Name property can be generated automatically from the Text / Capion property and the control tag defined for the control type in the Control Tags Options. Otherwise you can type it.

You can enable or disable this feature in the Options window, Personal Options tab, Name and Text / Caption Properties for New Control section.

Remarks:

  • You can customize the position of the control prefix (CancelButton vs ButtonCancel) in the Options window, Team Options tab, Control Tags section.
     
  • In Visual Studio, this feature only works with Windows Forms forms, not with WPF, Web, Silverlight or Smart Device forms.

See Also:

Name And Text / Caption Properties for New Control Options

Control Tags Options