guides:programming:programmers_reference_manual:pos_by_text_message

POS_BY_TEXT message

Locates a string in a list or combo box.

Combo box and list box.

textposition = Send_Message(controlID, "POS_BY_TEXT", findtext, startpos [, matchflag])

Parameters are as follows.

ParameterDescription
FindtextText to find. It is sufficient to specify just the first characters of desired text.
StartposPosition of item before the first item to be searched. Use 0 to search the entire list.
MatchflagSet true, if you require an exact match. The default value is false. A partial match starts at the first character and then searches to the right.

Position of the matched list item (starting with 1), or 0 if search was unsuccessful.

  • guides/programming/programmers_reference_manual/pos_by_text_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1