TypeSpecific2 property
Gets or sets the type of a menu, menu item, or toolbar item.
Version added
4.0
Syntax
| |
| |
intVal |
Integer. The type of menu, menu item, or toolbar. |
object |
Required. An expression that returns a Menu, MenuItem, or ToolbarItem object. |
intExpression |
Required Integer. The new type of menu, menu item, or toolbar item. |
Remarks
The value of an object's TypeSpecific2 property depends on the value of its CntrlType property.
CntrlType value |
TypeSpecific1 value |
visCtrlTypeBUTTON |
The TypeSpecific2 property is not used. |
visCtrlTypeEDITBOX visCtrlTypeCOMBOBOX |
The current width of the control expressed in pixels. |
visCtrlTypeLABEL |
The TypeSpecific2 property is not used. |