ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WINDEV Mobile concepts / Part 1 - Main concepts
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
6. Layouts
Previous pageTable of contentsNext page
Anchors are used to easily change the orientation of a Mobile application or adapt an application from a phone to a tablet.
However, in some cases, the interface must be entirely modified: the position of the controls must be different.
Layouts are used to define several views of a window in the same project without duplicating the window. This allows you to define:
  • a specific view for portrait mode,
  • a specific view for landscape mode,
  • a phone-specific view,
  • a tablet-specific view, etc.
To create a layout, on the "Window" tab, in the "Layouts" group, expand "Layouts" and select "Add layouts". The layout creation wizard appears and helps you create the necessary number of layouts. Once the layouts have been created, you can change the position of the controls on one or more layouts in order to get the desired interface.
At runtime, the initial layout is automatically selected according to the platform, the orientation and the size of the screen. The layout changes automatically when the device goes from portrait mode to landscape mode, for example.
Previous pageTable of contentsNext page
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/27/2022

Send a report | Local help