View Single Post
  #5  
Old 05-30-2010, 09:39 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Please wrap code in PHP tags to maintain readability.

PHP Code:
GuiContextMenuCtrl.findtext(str) - returns integer row index
GuiPopUpEditCtrl
.findtext(str) - returns integer
GuiPopUpEditCtrl
.findtext(str) - returns integer row index
GuiPopUpMenuCtrl
.findtext(str) - returns integer
GuiPopUpMenuCtrl
.findtext(str) - returns integer row index
GuiTabCtrl
.findtext(str) - returns integer row index
GuiTextListCtrl
.findtext(str) - returns integer row index
GuiContextMenuCtrl
.findtextid(str) - returns integer row id
GuiPopUpEditCtrl
.findtextid(str) - returns integer row id
GuiPopUpMenuCtrl
.findtextid(str) - returns integer row id
GuiTabCtrl
.findtextid(str) - returns integer row id
GuiTextListCtrl
.findtextid(str) - returns integer row id 
If it doesn't it find it, it should be returning a -1.

PHP Code:
if (object.findtext("Hello World") >= 0) {
  
// Hello World was found in the list.
} else {
  
// Hello World was not found in the list.

__________________
Quote:
Reply With Quote