|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

ListBox.GetType

OverviewExamples

number ListBox.GetType ( string ObjectName )


De s cr ip t ion


Returns the type of a listbox object.


P arame t er s


ObjectName


(string) The name of the listbox object.


Re t u r n s


(number) A number representing the type of list box. If an error occurs, the value -1 (LB_ERROR) is returned.



CONSTANT


VALUE DESCRIPTION


LB_LISTBOX


0


The object is a normal list box.


LB_CHECKLISTBOX


1


The object is a checklist box. Each item in the list box has an associated checkbox that can be checked or unchecked.

You can use Application.GetLastError to determine whether this action failed, and why.


|