TypeSpecific1 Property [Visio 2003 SDK Documentation]

Gets or sets the type of a menu or toolbar item.

intVal = object**.TypeSpecific1**

object**.TypeSpecific1** = intExpression

object     Required. An expression that returns a Menu, MenuItem, or ToolbarItem object.

intVal, intExpression    Required Integer. The type of the menu, menu item, or toolbar item.

Version added

4.0

Remarks

The value of an object's TypeSpecific1 property depends on the value of its CntrlType property.

CntrlType value TypeSpecific1 value

visCtrlTypeBUTTON

Any constant prefixed with visIconIX that is declared by the Visio type library.

visCtrlTypeEDITBOX
visCtrlTypeCOMBOBOX

Zero (0).

visCtrlTypeLABEL

The TypeSpecific1 property is not used.

Applies to | Menu object | MenuItem object | ToolbarItem object

See Also | CntrlType property | TypeSpecific2 property