PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
6. The layouts
Previous pageTable of contentsNext page
The anchors are used to easily manage the change of orientation for a Mobile application or the transfer of an application from a phone to a tablet.
However, in some cases, the interface must be entirely modified: the positioning of controls must be different.
The layout is used to define several views of a window in the same project without duplicating this window. This gives you the ability to define:
  • a specific view for the portrait mode,
  • a specific view for the landscape mode,
  • a view specific to the phone,
  • a view specific to the tablet, ...
To create a layout, on the "Window" pane, in the "Layouts" group, expand "Layouts" and select "Add layouts". The wizard for layout creation starts and it asks you several questions in order to create the necessary number of layouts. When the different layouts are created, you have the ability to change the positioning of controls on one or more layouts in order to get the requested interface.
At run time, the initial layout is automatically chosen according to the platform, the orientation and the size of screen. The layout is automatically modified when the device switches from portrait mode to landscape mode for example.
Previous pageTable of contentsNext page
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment