Unit 'MUIClass.Window' Package
[Overview][Types][Classes][Index] [#MUIClass]

TMUIWindow.ActiveObject

Set the active object in a window.

Declaration

Source position: MUIClass.Window.pas line 123

public property TMUIWindow.ActiveObject : TMUINotify
  read GetActiveObject
  write SetActiveObject;

Description

Set the active object in a window as if the user would have activated it with the tab key. The object has to be in the cycle chain for this command to work.

Example:

Window.ActiveObject := OkayButton; // Set focus to OK Button

See also

DefaultObject

  

The default object in a window receives keyboard input as long as no other object is active.


Documentation generated on: 2024-04-18