ForceLayout Method

Object List Next Object

Defined By:
ObjectBox

Description:

Makes the ObjectBox re-create the layout of the gadgets in the box.

Declaration:

Sub ForceLayout(refreshBitmaps As Long)

Details:

Some operations, such as deleting a gadget on an ObjectBox, do not automatically re-layout the gadgets. Use the ForceLayout method in these situations to cause the ObjectBox to recompute the locations of the other gadgets. If the 'refreshBitmaps' argument is given as True, then the bitmaps that are used for the face of each gadget are considered invalid and are asked for again. See the definition of ButtonGadget for more information on how Bitmaps are used with gadgets.

See Also:

ButtonGadget