property Item.ShowAsButton as ShowAsButtonEnum
Specifies whether the item is shown as a button.

 TypeDescription 
   ShowAsButtonEnum A ShowAsButtonEnum expression that indicates whether the item is shown as a button.  
By default, the ShowAsButton property is False. Use the ShowAsButton property to add buttons to your item. The Caption property specifies the caption of the item/button. Use the Item's CloseOnClick property to specify a different way to close the menu when user clicks a specified item. You can use the ShowAsButton property on exShowAsSelectButton, for a popup-item, where the SubMenu property determines the sub-menu/items to be shown when user clicks the associated arrow ( select button ).

The following screen shot shows the items with no button appearance ( ShowAsButton on exShowAsButtonNone )

The following screen shot shows the items with button appearance ( ShowAsButton on exShowAsButton )

The following screen shot shows the items with button appearance ( ShowAsButton on exShowAsSelectButtonBottom )

 


Send comments on this topic.
1999-2015 Exontrol.COM, Software. All rights reserved.