AddText

Return to Introduction  Previous page  Next page

Adds a static control with text. This control has no actions.

 

Prototype:

AddText(LONG BandID, LONG ID, STRING Txt, LONG Flags=0, <LONG InsertAfterID>)

 

Arguments:

BandID

ID of the band the control should be added to

ID

The unique ID of this control

Txt

The text for this control

Flags

Optional. Style flags. Can be one or more of the following flags:

PTB:BTN_DISABLED Control is initially disabled

PTB:BTN_HIDE           Control is hidden

InsertAfterID

Optional. Control should be inserted after the control with InsertAfter-ID. If you specify 0 as InsertAfterID, the control will be inserted first in band.

 

 



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