Sign in Join
FPDoc Onlineexperiment

TCustomFrame.UpdateOpaque procedure

Member of TCustomFrameprotectedIn unit Forms

Updates control style flags to reflect the transparency for the frame.

Declaration

pascal
procedure UpdateOpaque

Description

UpdateOpaque is a method used to update ControlStyle flags to reflect the transparency for the frame. When ParentBackground is True, the value csOpaque is excluded from the ControlStyle property to allow the frame to be drawn with transparency. When set to False, csOpaque is included in ControlStyle.

UpdateOpaque is called when the value for the ParentBackground has been changed, and when the CM_PARENTCOLORCHANGED control message is handled for the frame.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.