|
- Overview
- Implementation
- Creating a new layout for a Mobile window
- Creating a new layout for a window
- Creating a new layout for an internal window
- Creating a new layout for a page
- Handling layouts
- Managing controls in the layouts
- Special case of the Action Bar
- Characteristics of layouts
- Comparing windows or pages with layouts
- Managing layouts at runtime
- Default operating mode
- Programming
Layouts are used to define several views of a window/page in the same project without duplicating this window/page. Versions 25 and later New in version 25This help page presents: Versions 22 and later New in version 22 Versions 22 and later New in version 22 Versions 25 and later New in version 25 Managing controls in the layouts By default: - A control created in a layout is created in all the layouts.
- A control is positioned at the same location in all the layouts. It includes the same width and height properties.
- A control moved in a layout is moved in all layouts.
In order for a control to have specific properties and position according to the layouts, it must be dissociated. Several options are available. To handle a control in an independent way in the different layouts: - Select the control.
- Open the popup menu (right click).
- In the "Layouts" menu, the different possibilities are displayed::
 - Dissociate the position: used to modify the control position in one or more layouts.
- Dissociate the size: used to modify the control size in one or more layouts.
- Dissociate the anchor: used to dissociate the anchor in one or more layouts.
Versions 20 and laterDissociate the font: used to dissociate the font in one or more layouts. You can for example use a specific font for Android and another font for iOS. It is also possible to specify a font size for each layout. New in version 20Dissociate the font: used to dissociate the font in one or more layouts. You can for example use a specific font for Android and another font for iOS. It is also possible to specify a font size for each layout. Dissociate the font: used to dissociate the font in one or more layouts. You can for example use a specific font for Android and another font for iOS. It is also possible to specify a font size for each layout.- Make invisible in this layout: used to make the control visible or invisible in one or more layouts.
Remarks: - This popup menu is available for a selection of controls.
- you also have the ability to use the
icon found in the title bar of the layout currently edited. A click on this icon is used to automatically dissociate the size and/or position of the selected control during the first modification (performed with the mouse or with the keyboard).
Limit: For the Chart controls, the properties of the title and the properties of the legend cannot be dissociated between several layouts. Characteristics of layouts The popup menu of thumbnails for the available layouts is used to manage the layouts: You can: - View the layout description and modify it. See Layout parameters for more details.
- Activate the layout, which means display it in order to modify it.
- Activate the layout in double-view mode: the two layouts can be displayed and modified in parallel.
- Create a new layout.
- Delete the selected layout.
Versions 23 and laterDisplay proportional thumbnails. New in version 23Display proportional thumbnails. Display proportional thumbnails. Versions 21 and laterRefresh automatically: Used to refresh the layout as soon as a modification is performed in the window. New in version 21Refresh automatically: Used to refresh the layout as soon as a modification is performed in the window. Refresh automatically: Used to refresh the layout as soon as a modification is performed in the window. Versions 21 and laterRefresh this layout: Used to immediately refresh the layout. New in version 21Refresh this layout: Used to immediately refresh the layout. Refresh this layout: Used to immediately refresh the layout. Versions 21 and laterRefresh all: Used to immediately refresh all the layouts. New in version 21Refresh all: Used to immediately refresh all the layouts. Refresh all: Used to immediately refresh all the layouts.
Comparing windows or pages with layouts WINDEV Mobile allows you to compare two projects, two project elements, ... See Project comparator for more details. When comparing windows containing layouts, the differences found for each layout are listed.
Managing layouts at runtime
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |