<OBJECT>.CHILD()
Syntax
<CHILD_OBJECT> as P = <OBJECT>.CHILD( Num as N )
<CHILD_OBJECT> as P = <OBJECT>.CHILD( Name as C )
|
Argument |
Description |
|
Num |
The number of the child object. |
|
Name |
The name of the child object. |
Description
The <OBJECT>.CHILD() method applies to:
Alpha Five (for <OBJECT> use the keyword "A5")
Control Panel (for <OBJECT> use the keyword "CONTROLPANEL")
Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
Form Controls (for <OBJECT> use the <CONTROL> pointer or the address of the control)
The <OBJECT>.CHILD() method returns a pointer to the specified child object.
Supported By
Alpha Five Version 5 and Above
Limitations
Desktop applications only.
Example
The following example illustrates the retrieval of several properties of a button on a form.
|
dim ptr as P dim cptr as P ptr = form.load("Customer Information") cptr = ptr.child("Button1") ? cptr.text = "Mail Merge" ? cptr.object.width = 0.900000 ? cptr.object.height = 0.350000 |
See Also
Form Functions and Methods, Browse Functions and Methods, StatusBar Methods, Control Panel Methods