HideTBbutton

Syntax:

HideTBbutton( #ButtonID, Flag )

Parameters:

#ButtonID

=

your ButtonNumber (ID)

Flag

=

One of the following states:


0 = show

1 = hide


Description:

Hides or shows a TB-Button.


Example:

  AddTBbutton(500,1,#TBpro_BUTTON)
  AddTBbutton(501,2,#TBpro_BUTTON)
  AddTBbutton(502,3,#TBpro_BUTTON)

  HideTBbutton(500, 1)
  ; now you see only 2 Buttons in the TB


Supported OS:   Windows