Applies to

All controls.

Description

Returns or sets the controls bottom anchor status. If true the control is bottom anchored to the form. If false, the control is not bottom anchored to the form.

Usage

anchorState = Get_Property (objectname, ”ANCHORBOTTOM” )

existingState = Set_Property (objectname"ANCHORBOTTOM”status)

Remarks

Values passed in Set_Property():

ValueDescription
StatusBoolean true (1) or false (0)

Returns

Values returned by Get_Property and Set_Property

ValueDescription
anchorStatethe Boolean status of the control’s bottom anchor.
existingStatethe Boolean status of the control’s bottom anchor, when Set_Property was run.

See Also

ANCHORRIGHT property

Example

Declare function Get_Property, Set_Property
* retrieve the ANCHORBOTTOM property of the COMMENTS control  and if true set to false and vice versa.
anchorState = Get_Property(@window:’.COMMENTS’,’ANCHORBOTTOM’)
if anchorState then
   newState = 0
end else
    newState = 1
end
existingState = Set_Property(@window:’.COMMENTS’,’ANCHORBOTTOM’,newState)
  • No labels