Main settings

Return to Introduction  Previous page  Next page

In the control template settings you can control every aspect the toolbar.

This section describes the main PowerToolbar template settings.

 

Bands

This is a list of all bands in the toolbar.

 

ctrltpl_Bands

 

Insert

Inserts a new band, and opens Band properties

 

Properties

Opens band-properties for the selected band

 

Delete

Delete selected band

 

 

 

Menu

This is the settings for the AppFrame menu.

If "Override main Clarion menu" is activated, PowerToolbar will take over drawing of the menu and draw it with the selected PowerToolbar style.

 

ctrltpl_Menu

 

Override main Clarion menu

If this option is checked, PowerToolbar will draw the menu.

 

Show gripper

Controls if the gripper should be shown to the left of the first menu

 

Flat

Draws the menu-band flat (with no borders)

 

Mdi-Buttons

By default all MDI-buttons are visible (when the AppFrame has a maximized child window). Uncheck the appropriate check box to hide MDI-buttons of your choice.

 

Important note

Several limitations applies when using PowerToolbar to draw the menubar:

 

Bullet All items in menu must have a Use-variable set

Bullet All font colors must be COLOR:NONE

Bullet Width must be "default" on all items

Bullet Height must be "default" on all items

Bullet Top level menu-items is not supported

 

Read more about limitations here.

 

 

Style

Here you can choose toolbar style and tooltip mode.

 

ctrltpl_Style

 

Style

Toolbar draw style.

 

Available styles:

Bullet Office 2000

Bullet Office XP

Bullet Office 2003

Bullet Native XP

 

NativeXP is only available if PowerXP-Theme is included in the application, and the application is running under Windows XP or 2003.

On Windows 95/NT4 only Office 2000 is available. Read more about limitations here.

 

Color

Toolbar color style (only affects Office 2003 style)

 

Available styles:

Bullet Default (Gray)

Bullet Blue

Bullet Silver

Bullet Widbey

Bullet PowerXP-Theme (requires PowerXP-Theme to be included in the application)

 

Tooltip mode

Controls how tooltip look

 

Available modes:

Bullet Disabled

Bullet Normal

Bullet Balloon (only available on Windows XP and later)

 

Draw bottom border

If this option is on, a line with the appropriate border color is drawn at the bottom of the Toolbar.

 

Allow right-click customize

If this option is on, the user can right-click the toolbar and hide bands.

 

Band overflow detection

This option will, if activated, make bands that would overflow it's row start on the next row instead.

 

Font name

The name of the font to use for the Toolbar

 

Font size

Font size to use for the Toolbar

 

 

Advanced

Advanced settings.

You usually won't need to do any changes here.

 

ctrltpl_Advanced

 

Class

Name of the class used for PowerToolbar

 

Object name

The object name used when generating the PowerToolbar object.

This is the object-label you will use when writing hand code to control the toolbar.

 

BandID prefix

Prefix of auto generated Band-ID's

 

ControlID prefix

Prefix of auto generated Control-ID's

 

Start ID band

Start value for Band-ID's

 

Start ID controls

Start value for Control-ID's

 

Start ID menus

Start value for top level Menu-ID's

 

ID-Filename

File name to write all ID's into. The file is used by the PowerToolbar MDI Child template.

This prompt is only available if PowerToolbar is populated into the AppFrame

 

Object

The name of the global AppFrame toolbar object. This must be the same as the global setting.

This prompt is only available if PowerToolbar is populated into the AppFrame.

 

Re-generate ID-file

If you click this button, the ID-file is generated. The file is generated with each compile, but if you want to refresh ID's without compiling, use this button.



Direct link to this page on our website: http://www.icetips.com/manuals/powertoolbar/toolbarcontrol.htm