Converts an item name into an item position.


of_locateItem(String item)


Name Type Description
item String The name of button for which the item's index is to be returned. The name of the button is the name the programmer gave when of_addItem was called or when of_setText was last called. The name is the text displayed for a toolbar when display text is enabled. The index of the button is the same as the value returned when of_addItem was called

Return Value

Returns a long that contains the item index for the item requested. It returns a NULL of there is an error or the item name is not found.


There are no special usage notes.


Long                     ll_item
ll_item                  = of_locateItem('Open')

See Also

Last edited Sep 24, 2016 at 2:06 PM by cjharris02892, version 8