TButtonGlyph.IsDesigning property
Indicates whether change notifications are suppressed while editing property values.
Declaration
property IsDesigning: Boolean read FIsDesigning write FIsDesigning;Description
IsDesigning is a
Boolean property which indicates
whether change notifications are suppressed while editing property values for
the button glyph. The default value for the property is
False, as
assigned in the
Create constructor.
Set IsDesigning to True to prevent calls to the
Refresh method following a change to the ShowMode
property, or when getting/setting the image for the button Glyph.
Controls which use TButtonGlyph, like TBitBtn and
TSpeedButton, will update the property to indicate whether the
ComponentState for the control includes the csDesigning
enumeration value. This has the net effect of disabling OnChange
notifications at design-time.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
