Default SEToolBarConfig Assign

<< Click to Display Table of Contents >>

Navigation:  SEUIXP Classes for X# > Classes > SEToolBarConfig >

Default SEToolBarConfig Assign

Previous pageReturn to chapter overviewNext page

Purpose

Define the default buttons to display and their order.

If you call the SEToolBarConfig:Reset() method or if you press the reset button in the toolbar customize dialog,

this default definitoin is used.

 

Prototype

ASSIGN Default(aItems) CLASS SEToolBarConfig

 

Argument

<aValue>

A one dimensional array with the default toolbar layout information.

With this array you define the buttons to display and their order.

Each array element contains a button ID of the button to display.

The position in the array is equivalent to the displayed position on the toolbar.

The button ID of the separator is IDT_SEPARATOR.

 

Example:

 

oConfig:Default := {IDTB_New, IDTB_Open, IDTB_Save,;

                   IDT_SEPARATOR, IDTB_MoveTo, IDT_SEPARATOR,;

                   IDTB_Copy, IDTB_Paste, IDT_SEPARATOR,;

                   IDTB_Delete, IDTB_Refresh}