Null Layout

You can disable the AbsoluteLayout manager and design forms without a layout manager at all.

Using a null layout has the same strengths and limitations as using AbsoluteLayout. It is useful for making prototypes, but not recommended for production applications.

To use a null layout:

  1. Choose Tools Options from the main window, select the Form Objects node, and set the value of its Generate Null Layout property to True. (Make sure you select the Form Objects node at the top level of the Tools window nodes, not the Form Objects node under Object Types.)

  2. When designing your form, select the AbsoluteLayout manager.

    As long as the Generate Null Layout property is True, you will be using a null layout manager instead of AbsoluteLayout.

  3. Programmatically set the size of the container component. Otherwise, the container is initially displayed at a minimum size that does not show the components within it.

    One way to establish container size is to set the Form Size Code Generation properties of the form. See Modifying Code Generation for a Form for more information.

See also
AbsoluteLayout Manager

Setting the Layout Manager

Legal Notices