ItemState  Label

Chapter 3: Property Descriptions and Usage

ItemStyle

Applies to

ToolbarItem objects

Description

Determines the style of a toolbar item. Values are:

Usage


In a painter

StepsTo select a style for a toolbar item:

  1. Select the toolbar item on the Items page of the Properties view for a Toolbar control.

  2. Select the style for the toolbar item in the Style drop-down list.


In scripts

The Style property takes an enumerated value of the type ToolbarItemStyle. The following example changes a toolbar item style, adding it to a group of buttons. The button remains depressed after a user taps it, but returns to the up position when the user taps the button again or taps another button of the same style:

tbi_myToolbarItem.Style = StyleCheckGroup!





Copyright © 2004. Sybase Inc. All rights reserved. Label

View this book as PDF