comp • gb.form.mdi • toolbar • configure

ToolBar.Configure (gb.form.mdi)

Sub Configure ( )

Open the toolbar configuration dialog.

When the configuration dialog is opened, the toolbar enters configuration mode.

In that mode, the toolbar is disabled, and the toolbar contents can be freely dragged and dropped:

  • You can drag & drop elements inside the toolbar to reorder them.

  • You can remove an element from the toolbar by draggin it and dropping it on the configuration dialog.

  • You can insert an element by dragging it from the configuration dialog and dropping it on the toolbar.

Moreover, you can set the size of the toolbar icons.

Once done, you can close the configuration dialog. The toolbar then leaves the configuration mode and is usable again.

Only toolbar children whose Action property is defined are taken into account by the configuration dialog.