OWLNext 7.0
Borland's Object Windows Library for the modern age
|
You can vary the spacing between mode indicator gadgets on the status bar using the TStatusBar::SetSpacing function:
spacing is a reference to a TSpacing object. TSpacing is a struct defined in the TStatusBar class. It has two data members, a TMargins::TUnits member named Units and an int named Value. The TSpacing constructor sets Units to TMargins::LayoutUnits and Value to 0.
The TSpacing struct lets you specify a unit of measurement and a number of units in a single object. When you pass this object into the SetSpacing command, the spacing between mode indicator gadgets is set to Value Units. You need to lay out the status bar before any changes take effect.