<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:

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