SetDefault

[method icon] SetDefault()

Sets menu item to default

Applies to: MenuItem

Introduced in KCML version 6.10


>

SetDefault

If this method is called the menu item is set as the default item. The previous default is unset. For example:

 .menu1.fileoption1.SetDefault()

There can be only one default menu item per menu. The text of this item is displayed in bold type.

Windows CE does not currently support default menu items.

See also

MenuItem methods, properties and events.