TypeSpecific1 property

Microsoft Visio Developer Reference

TypeSpecific1 property

   Example   

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

Version added

4.0

Syntax

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.

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

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