| Need to change the characteristics (font, enabled,
etc) of a number of controls at once? |
Instead of an array of controls, make all of the controls
children of a common parent. Then, you can change the font, or the enabled
status, of the parent and all of the children change to match.You can do
this with a group box or with a TPanel. If you don't want the TPanel to
stand out, turn all the bevels to bvNone. |
Original |
| Need a form with absolutely no border? |
Set Border Icons all false; Border Style to bsNone;
and have no caption. |
Original |
| Need a label that floats on top of other controls? |
TLabel can't do this because TWinControls are always
above TGraphicControls and TLabel is a TGraphicControl. However, you can
create a window label by using a TMemo, and making the Color clBackground,
the BorderStyle bsNone, and setting ReadOnly to true. |
Original |
|
|