Code Generation properties for containers
A set of Code Generation properties is also available for containers. These properties affect the size, positioning, encoding, and active menu bar of the form.
- Form Encoding - The encoding to be used in the XML
.form
file.- Form Size Policy - Overall policy for resize code generation. You can choose to have resize code generated, to not have resize code generated, or to have the
pack ()
method generated (in which case the form would be sized to fit the preferred size and layout of its subcomponents).- Form Position - Position on the screen where the form will open (coordinates from top left corner). This is applied only when the
Generate Position
property is true andForm Size Policy
is set toGenerate Resize Code
.- Form Size - Initial size of the form. This is applied only when the
Generate Size
property is true andForm Size Policy
is set toGenerate Resize Code
.- Generate Center - If
True
, generates code that sets the position of the form to the center of screen (regardless of the value of theGenerate Position
property).- Generate Position - If
True
, generates code that sets the position of the form to the coordinates given by theForm Position
property (or to the center of screen ifGenerate Center
is set toTrue
).- Generate Size - Generates code that sets the size of form to the one given by the
Form Size
property.- Menu Bar - Drop-down list enabling you to choose which menu bar is to be set in the form.
Contents | Prev | Next | Index |