PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview of Shape control
  • Control of a report or window
  • Creating a Shape control
  • Creating a Shape control in the window editor
  • Creating a Shape control in the report editor
  • Tips
  • How to modify the angle of an arrow in the window editor
  • Moving the extremities of an arrow by programming
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of Shape control

Control of a report or window

The Shape control allows you to create geometric shapes in your windows and reports:
  • Rectangle.
  • Ellipse (this type of shape is not available in the reports).
  • Versions 21 and later
    Diamond (this type of shape is not available in the reports).
    New in version 21
    Diamond (this type of shape is not available in the reports).
    Diamond (this type of shape is not available in the reports).
  • Arrow (this type of shape is not available in the reports).
  • Line.
WEBDEV - Server codeiPhone/iPadUniversal Windows 10 App The Shape control is available in the report editor only.
Versions 18 and later
iPhone/iPad This type of control is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This type of control is now available for reports in iPhone/iPad applications.
iPhone/iPad This type of control is now available for reports in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This type of control is now available for reports in applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of control is now available for reports in applications in Universal Windows 10 App mode.
Universal Windows 10 App This type of control is now available for reports in applications in Universal Windows 10 App mode.
Creating a Shape control
WINDEVWindows MobileJava

Creating a Shape control in the window editor

To create a Shape control in the window editor:
  1. On the "Creation" pane, in the "Other controls" group, click "Shape".
  2. Click the position where the control will be created in the window. The shape creation wizard starts. Choose the shape to create and its characteristics (line thickness, ...).
  3. Validate the shape creation.
To display the control characteristics, select "Description" in the control popup menu.
Remarks:
  • To directly create a specific shape, on the "Creation" pane, in the "Other controls" group, expand "Shape" and select the desired shape.
  • From version 12, the Arrow, Ellipse and Line shapes use the GDI+ framework: therefore, the "jagged" effects are reduced. If your window contains Shape controls that have been created with an earlier version, this new drawing mode is automatically applied.
  • Versions 21 and later
    In the window editor, you can set a background image for the Rectangle, Ellipse and Diamond shapes ("Background image" option in the "Details" tab of the control description window).
    New in version 21
    In the window editor, you can set a background image for the Rectangle, Ellipse and Diamond shapes ("Background image" option in the "Details" tab of the control description window).
    In the window editor, you can set a background image for the Rectangle, Ellipse and Diamond shapes ("Background image" option in the "Details" tab of the control description window).
  • Versions 21 and later
    WINDEV In the window editor, ShapePolygon is used to create a free shape.
    New in version 21
    WINDEV In the window editor, ShapePolygon is used to create a free shape.
    WINDEV In the window editor, ShapePolygon is used to create a free shape.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUniversal Windows 10 AppWindows Mobile

Creating a Shape control in the report editor

To create a Shape control in the report editor:
  1. On the "Creation" pane, in the "Visual" group, click "Shape" and select the desired shape.
  2. Click the position where the control will be created in the report.
  3. To modify the shape, open the control description window ("Description" in the popup menu of the control) and choose the desired shape in the "General" tab.
Tips
WINDEVWindows Mobile

How to modify the angle of an arrow in the window editor

To modify the angle of an arrow in the editor, you must:
  1. Select the extremity of the arrow with the mouse.
  2. Keep the left mouse button down.
  3. Move the mouse until you get the desired angle.
WINDEVWindows Mobile

Moving the extremities of an arrow by programming

To move the extremities of an arrow, use the ArrowXXX functions:
  • ArrowStart is used to position the source extremity of the arrow
  • ArrowEnd is used to position the end extremity of arrow
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment