AddTBseparator

Syntax:

AddTBseparator( [Width_of_SpaceHolder] )

Parameters:

Width

=

Width of the Separator, for use as a space holder


Return Values:

#FALSE

=

button creation failed

<> 0

=

button created


Description:

Add a Separator to the Toolbar.

You add a separator to make groups of Buttons for better overview.


Optional you can specify the Width of the Separator, so it is used

as a SpaceHolder.

Very useful for placing Gadgets (like a ComboBox) in a Toolbar

between normal TB-Buttons.


Example:

  AddTBbutton(500,#TBpro_CUT ,#TBpro_BUTTON)
  AddTBbutton(501,#TBpro_COPY,#TBpro_BUTTON)
  AddTBseparator()                     ; Separator
  AddTBseparator()                     ; Separator
  AddTBbutton(502,#TBpro_FIND,#TBpro_BUTTON)
  AddTBseparator(50)                   ; SpaceHolder with Width 50
  AddTBbutton(503,#TBpro_HELP,#TBpro_BUTTON)


Supported OS:   Windows