ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Cell control
  • Overview of the Cell control
  • Control in a dynamic or static page
  • Creating a Cell control
  • Cell with relative positioning
  • Swapping
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview of the Cell control

Control in a dynamic or static page

The Cell control contains controls.
The Cell control is used to:
  • define a color area. Controls can be positioned on this area.
    The color (or the background image) of the cell can be selected in the "Style" tab of the description window of control.
  • move up the controls found below a Drawer control when it is collapsed.
  • communicate with the user.
    Note: to communicate with the user, use Popup control.
  • define an HTML table in a static page, etc.
Remark: Fields are associated with a cell. The option "The control can be overlaid" must not be checked for the controls associated with the Cell control. Indeed, if this option is checked, the control will not be associated with the cell.
Creating a Cell control
To create a Cell control:
  1. On the "Creation" tab, in the "Containers" group, click "Cell".
  2. Click where the control will be created in the window or page. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
WEBDEV - Server code
Cell with relative positioning
The Cell control can be used in "relative positioning" mode.
In this mode, the controls located inside the cell are dynamically positioned from left to right and from top to bottom according to their size. This mode is used to eliminate the empty space left by an invisible control.
To define a cell in "relative positioning" mode:
  1. Display the description window of the cell.
  2. On the "General" tab, specify the positioning of controls:
    • Free (by default).
    • Relative, from right to left.
    • Relative, from left to right.
  3. Type the size of inside margin of cell (in pixels) in the "Style" tab ("Margins" element).
  4. Validate
Remark: In a relative positioning cell, expandable zone rules continue to apply.
Swapping
A Cell control field can be automatically created from a selection:
  1. Select the controls that must be included in the cell.
  2. Under the "Modification" pane, in the "Transformations" group, pull down "Refactoring and swapping" and in the "Refactoring / create a field with selection" area, select "A Cell control".
Related Examples:
The Cell control (Popup) Unit examples (WEBDEV): The Cell control (Popup)
[ + ] This example explains how to display the details in a popup cell.
The details are displayed in a movable cell made visible during the click.
Custom tooltip Unit examples (WEBDEV): Custom tooltip
[ + ] This example explains how to display a custom tooltip when an element is hovered by the mouse cursor.
The custom tooltip is a cell that is:
- displayed during the "Mouse over" event,
- hidden during the "Mouse out" event.
The Cell control (Move) Unit examples (WEBDEV): The Cell control (Move)
[ + ] This example explains how to use a movable cell.
This cell is moved by the mouse or by programming.
The Cell control (Animations) Unit examples (WEBDEV): The Cell control (Animations)
[ + ] This example explains how to create "furtive cells" in your WEBDEV sites.
A furtive cell is a cell that appears at the bottom of the page and that remains displayed during a given time.
These cells can be used to display notifications, adverts...
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help