Type: Boolean
Availability: Read or write at any time
The transparent property applies to the CheckBox, Frame, GroupBox, Label, OptionButton, Picture, and WebHTML controls.
Setting the transparent property to true causes the control to be placed above all other sibling controls and the controls or form underneath to be visible. The background area of the control is not painted. The control still responds to all mouse actions over the transparent areas.
The uses of this property are:
With the backBrush property of a form; for example, painting just the text of a label over the backBrush bitmap without erasing the background area of the label.
Placing hotspots on a picture over certain positions that respond to mouse actions (including changing the mouse cursor).
Placing a control over the top of all other controls for use with a painter-type environment. The transparent control takes all the mouse and keyboard actions, while allowing the controls being manipulated to be visible without them receiving the focus.
This property requires more overhead, as the transparent area receives multiple paints, and changing the transparent control requires additional access to determine which windows are affected.
When controls are removed from a transparent parent in the JADE Painter (either by being dragged off the parent or deleted), the Painter must refresh the transparent control, as it is not refreshed by Windows.
The transparent property for a Web picture on a Label control is set to true when the hotspot is created.
This property applies only to HTML on Web pages accessed using Internet Explorer 4.0 (or higher).