OWLNext 7.0
Borland's Object Windows Library for the modern age
|
As with the TGadgetWindow::Insert function, if the gadget window has already been created, you need to call TGadgetWindow::LayoutSession after calling Remove.
Any gadget you remove will not disappear from the window until the window has been laid out.
You can change the margins and the layout direction of a gadget window, either before the window is created or afterwards. To do this, use the TGadgetWindow::SetMargins and TGadgetWindow::SetDirection functions:
Both functions set the appropriate data members, then call the function TGadgetWindow::LayoutSession.
You can find out in which direction the gadgets are laid out by calling the TGadgetWindow::GetDirection function: