List Box Control Methods
The List Box Control has the following methods. The list box control methods are used with a pointer to the control in the following way: .METHOD(). Refer to Retrieving a Pointer to a Control for techniques for getting a pointer.
Sets focus to the object.
Returns an object pointer to the Nth child of the object, or the child object called Object_Name.
Returns a CR-LF separated list of all the child objects on the form, in tab order.
Returns the number of objects that a container object contains. Returns zero if the object is not a container.
Returns the class (i.e., type) of the object.
Returns the name of the control's container.
Makes a form unable to receive focus. May also gray the object. Works with fields, buttons, check boxes, etc.
Makes an object able to receive focus.
Interprets a string as Xbasic code.
Returns a pointer to the table field bound to the control.
Returns .T. (TRUE) if the form supports the specified method.
Hides an object.
Returns the kind of object represented by a form.
Returns the object name.
Returns the reference expression to reconstruct a reference to the object.
Forces a control to re-fetch data from its data source, and then to repaint itself. Works with all controls.
Re-displays a control.
Returns the session handle associated with the object.
Shows an object that may previously have been hidden using the .HIDE() method. Works with fields, buttons, check boxes, text, lines and most other objects on forms.
Replaces selected text in a text control.
Selects text in a text control.
Returns the type of data bound to an object.