Apply Default Properties

Top  Previous  Next

 VS   VB6   VB5   VBA 

The Apply Default Properties feature allows you to apply customized default values to the properties of:

  • The active form. In this case the default properties are defined in the Options window, Team Options tab, Form Default Properties section.
     
  • The selected control(s) of the active Windows Forms form or usercontrol. In this case the default properties are defined in the Options window, Team Options tab, Control Default Properties section.

Some properties you may want to apply defaults to are the LabelEdit or View properties of ListViews, the StartPosition of forms and so on. In Visual Studio, you can also apply a predefined modifier (private, protected, etc.) to each control.

MZ-Tools offers the following ways to apply default properties to a form or control:

  • The MZ-Tools | Apply Default Properties menu.
     
  • The Apply Default Properties button on the MZ-Tools - Main toolbar.
     
  • The Apply Default Properties menu entry on context menu of selected controls of a form.
     
  • In Visual Studio, the keyboard shortcut associated with the MZTools8.ApplyDefaultProperties command.
     
  • In VB6 / VB5, the keyboard shortcut associated with the Apply Default Properties feature.
     
  • Automatically when you add a control to a form (you may be asked for confirmation), except in VBA. See Control Default Properties Options.

Remarks:

  • In Visual Studio, this feature only works with Windows Forms forms, not with WPF, Web, Silverlight or Smart Device forms.

See Also:

Form Default Properties Options

Control Default Properties Options