ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Options and actions
  • Overview
  • Refuse children
  • Deleting a container control without deleting its children
  • Color nested containers
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile feature different controls that can contain other controls. These are referred to as "container" controls.
There are several types of controls that are considered container controls:
  • Cell controls,
  • Flexbox controls,
  • Layout controls,
  • Tab controls
  • etc.
Elements in the container control are "children" of that control..
Container controls have specific properties in the window and page editor.
Refuse children
By default, elements moved (with the mouse or keyboard) into a container become children of that container. This means they are now included and do not simply "overlap" the container..
For example, a Button control dropped onto a Cell control becomes a child of that cell.. If you move the Cell control, the child control will move along with it. The position of the child control is relative to that of the container.
You can prevent a control from becoming a child of the container:
  1. Select the container control in the editor.
  2. On the "Modification" tab, in the "Editing help" group, check "Refuse children".
Controls moved into the container will no longer be "included", but will simply overlap the container.
New in version 2025
Deleting a container control without deleting its children
By default, when used on a container control, the Delete key deletes the container and all its children..
In the case of Supercontrols, Cell and Flexbox controls, you can delete the container without deleting its children..
To delete a container control without deleting its children:
  1. Select the container control in the editor (Tab, Layout, Cell, etc.).
  2. On the "Modification" tab, in the "Transformations" group, expand "Refactoring and swapping" and select "Delete and keep children".
New in version 2025
Color nested containers
The ability to apply coloring to containers in edit mode is a great tool in the UI design process, especially when there are nested containers.
Feel free to apply coloring to Cell, Flexbox or Layout containers. This option lets you use color gradients to distinguish each area.
To use this feature:
  1. On the "Display" tab, in the "Show (all controls)" group, check "Color nested containers".
  2. If necessary, select the desired color palette.
Remark: You can press F7 to switch between different display options: Margins, Surface of controls, Outline and Color nested containers.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/18/2024

Send a report | Local help