<CONTROL>.CONTAINER_GET()

Syntax

Container as C = <CONTROL>.CONTAINER_GET()

Description

The <CONTROL>.CONTAINER_GET() method returns the name of the control's container. The method returns NULL ("") unless the control is placed within a container within the form. The method is useful when using tabbed controls and frames.

Limitations

Desktop applications only.

Example

dim ptr as P

dim fld as P

ptr = form.load("customerx")

fld = ptr.child("Fullname")

? fld.Container_Get()  -> "TABBED1.tabs.sheet[2]"

See Also

Form Functions and Methods, Browse Functions and Methods, Form Control Methods

Supported By

Alpha Five Version 5 and Above