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 / Wire control
  • Overview of Wire control
  • Window control
  • Creating a Wire control
  • Characteristics of Wire controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview of Wire control

Window control

The Wire control is used to visually link 2 controls. This control allows you to easily create workflows.
A wire can be:
  • made of one or more segments.
  • straight, with a right angle or free.
When moving one of the controls attached to the wire, the wire automatically follows the position of linked controls.
Creating a Wire control
Several methods can be used to create a Wire control:
  • Creation from the selection of two controls:
    1. Select the two fields to be linked: use the mouse lasso or the Ctrl key to select the two fields..
    2. In the ribbon, on the "Creation" tab, in the "Adjust" group, click "Wire between 2 controls".
  • Creation from the selection of a control:
    1. A control is selected in the window.
    2. In the ribbon, on the "Creation" tab, in the "Adjust" group, click "Wire between 2 controls".
    3. A wizard asks you to add the end control to the selection. Press the Ctrl key then click the end control.
    4. Click the "Create the wire" button. The Wire control is created.
  • Creation from no selection:
    1. In the ribbon, on the "Creation" tab, in the "Adjust" group, click "Wire between 2 controls".
    2. A wizard asks you:
      • to select the start control.
      • to add the end control to the selection. Press the Ctrl key then click the end control.
    3. Click the "Create the wire" button. The Wire control is created.
To view the characteristics of the control, select "Description" in the context menu.
Characteristics of Wire controls
The "General" tab in the description window of the Wire control is used to define the characteristics of the control:
  • Characteristics of the start control for the wire:
    • Control name.
    • Shape of the extremity of the Wire control for the start control. This shape can be an arrow, a triangle, a circle, ...
    • Position of the attach point of the Wire control on the start control. The attach point can be positioned at the top, bottom, right or left of the control.
  • Characteristics of the end control for the wire:
    • Control name.
    • Shape of the extremity of the Wire control for the end control. This shape can be an arrow, a triangle, a circle, ...
    • Position of the attach point of the Wire control on the end control. The attach point can be positioned at the top, bottom, right or left of the control.
  • Dimensions and routing:
    • Line thickness for the Wire control. This thickness is expressed in pixels.
    • End shape size. This size is expressed in pixels.
    • Type of routing: Two types of routing are available:
      • Right-angle: The Wire control can be broken down into several segments.
      • Straight line: the Wire control will consist of a single segment..
All these characteristics can be modified through programming with several WLanguage properties. For more details, see Manipulating Wire controls programmatically.
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help