OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Gadget windows are based on the class TGadgetWindow, which is derived from TWindow.
Gadget windows are designed to hold a number of gadgets, lay them out, and display them in another window.
Gadget windows provide a great deal of the functionality of the gadgets they contain. Because gadgets are not actually windows, they cannot post or receive events, directly interact with windows, or call Windows function for themselves. Anything that a gadget needs to be done must be done through the gadget window.
A gadget has little or no control over where it is laid out in the gadget window. The gadget window is responsible for placing and laying out all the gadgets it contains. Gadgets are generally laid in a line, either vertically or horizontally.
Gadget windows generally do not stand on their own, but instead are usually contained in another window. The most common parent window for a gadget window is a decorated frame window, such as TDecoratedFrame or TDecoratedMDIFrame, although the class TToolBox usually uses a TFloatingFrame.
To learn more about working with gadget windows, see