Home > Code Library > SmartMenuXP > Style

Last Update 01 Nov 2001

 


Search:



  

Options:

   

   

   

   



SmartMenuXP
Reference

Style Property

Returns or sets a value that determines the type of the menu item.

Syntax

object.Style [= number]

The Style property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartMenuList object.
number An integer that specifies the type of the menu item.

Settings

The settings for number are

Constant Setting Description
smiNone 0 (Default) None This style is equal to smiPicture.
smiPicture 1 The menu item will display a Picture on its left side.
smiCheckBox 2 The menu item will display a check box on its left side.
smiSeparator 3 The menu item will act as a separator.


Remarks

By default, every menu item has its style equal to smiNone

 

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