Home > Code Library > SmartMenuXP > Caption

Last Update 01 Nov 2001

 


Search:



  

Options:

   

   

   

   



SmartMenuXP Reference

Caption Property

Returns or sets the text displayed in the menu item.

Syntax

object.Caption(menuID) [= string]

The Caption property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartMenuList object.
menuID A numeric expression that evaluates to a menu item.
string A string expression that evaluates to the text displayed in the Caption.


Remarks

Captions are only displayed when the Style property has values smiNone, smiPicture or smiCheckBox.

 

 
Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.