AddEntry

Return to Introduction  Previous page  Next page

Add an entry control to a band.

 

Prototype:

AddEntry(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. button 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.

 

See also:

GetText, SetText, AddBand

 



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