Control (window control)

Top  Previous  Next

 

Control     SIGNED

The Control property contains the control number (usually represented by the control's Field Equate Label) of the window control associated with this ToolbarTarget object. For ToolbarTarget objects that do not have an associated control (update forms), the Control property may contain any identifying number.

The ToolbarTarget object uses this property as the target control when POSTing certain events. See POST in the Language Reference.

The ToolbarClass.AddTarget method sets the value of this property.

Implementation:

By convention, update forms have a Control value of negative one (-1).

See Also:     ToolbarClass.AddTarget