[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Updates control style flags to reflect the transparency for the frame.
Source position: forms.pp line 312
protected procedure TCustomFrame.UpdateOpaque; |
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.
|
Indicates if the control uses the background from the parent. |
|
|
Style flags, specifying whether the control responds to mouse clicks, can be re-sized, has particular actions, etc. |
lazarus-ccr.sourceforge.net |