GetItemText

Return to Introduction  Previous page  Next page

Returns the text of a DropCombo-item or DropButton-item.

 

Prototype:

GetItemText(LONG ControlID, <LONG Index>),STRING

 

Arguments:

ControlID

ID of the control

Index

Optional. Specifies which item you want to get the text from. If this argument is omitted the currently selected item will be used for DropCombo's. If it's a DropButton, the first item will be returned.

 

Return value:

Returns a STRING containing the text. Returns empty string if Index is out of bounds.

 

 

 



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