TCustomForm.SetVisible procedure
Sets the value for the Visible property.
Declaration
procedure SetVisible(Value: Boolean); overrideArguments
Value | New value for the property. |
Description
SetVisible is an overridden method used to set the value for the
Visible property. It ensures that
FormState is updated
to reflect the new value for the property. When set to
True,
fsVisible is included in the FormState property. Otherwise,
fsVisible is excluded from FormState. No actions are performed in the method
if FormState already already reflects the new value for the property.
SetVisible calls the inherited method to store the new property value, and to
perform resizing and control messages as needed. The UpdateVisible
method in Application is called to ensure that the application is
visible in the task bar when one of its forms is visible.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
