Flyouts are used to group related commands on a toolbar.
A flyout is a reference to a toolbar that is accessed from a single button on a toolbar. Flyout buttons have a black triangle in the lower-right corner which indicates that pressing and holding the pick button from the pointing device will reveal additional commands. A flyout can be created from scratch, or using an existing toolbar or pull-down menu onto a toolbar.
NoteA flyout can only contain commands, it cannot contain any controls.
The following table shows the properties for the Zoom flyout as they appear in the Properties pane.
Properties for the Zoom flyout on the Standard toolbar |
Properties pane item |
Description |
Example |
Name |
String that does not appear in the user interface unless the Use Own Button property is set to Yes. |
Zoom |
Description |
Text used to describe the element, does not appear in the user interface. |
|
Source Toolbar |
A read-only value used to specify which toolbar is being referenced to create the flyout. |
TB_ZOOM |
Use Own Button |
Controls whether the last used toolbar button is set as the current button or not. |
No |
Small Image |
ID string of the small-image resource (16 × 16 bitmap). The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the […] button to open the Select Image File dialog box. |
RCDATA_16_ZOOM |
Large Image |
ID string of the large-image resource (32 × 32 bitmap). If the specified bitmap is not 32 × 32, the program scales it to that size. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the […] button to open the Select Image File dialog box |
RCDATA_16_ZOOM |
WarningDo not change the aliases for a toolbar that is being used as a flyout; otherwise, the reference between the toolbar and flyout will become broken.