Aracılığıyla paylaş


UIEnable Event

Occurs for all objects contained within a page whenever the page is activated or deactivated.

PROCEDURE Object.UIEnable
LPARAMETERS lEnable

Parameters

  • lEnable
    Contains a logical value that specifies whether the page that the object is contained within is being activated or deactivated. If lEnable is true (.T.), the page that the object is contained within is being activated (becoming the active page). If lEnable is false (.F.), the page is being deactivated (becoming the inactive page).

Remarks

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionGroup | PageFrame | Shape | Spinner | TextBox

Use the UIEnable event to specify any action you want to occur for an object or control when the page that it is contained within is activated or deactivated.

The UIEnable event does not occur for pages when the form is initially activated. The UIEnable event occurs only when a page is programmatically or interactively activated or deactivated.

See Also

Reference

Activate Event (Visual FoxPro)

Deactivate Event

Other Resources

Events (Visual FoxPro)

Language Reference (Visual FoxPro)