PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview of the 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 the Shape control

Control of a report or window

The Shape control allows you to create geometric shapes in your windows and in your 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 the reports in the iPhone/iPad applications.
New in version 18
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This type of control is now available for the reports found in the applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of control is now available for the reports found in the applications in Universal Windows 10 App mode.
Universal Windows 10 App This type of control is now available for the reports found in the 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. In the window editor, click (or select "Insert .. Shape").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 wizard for shape creation starts. Choose the shape to create and its characteristics (line thickness, ...).
  3. Validate the creation of the shape.
To display the control characteristics, select "Description" from the popup menu of control.
Notes:
  • To directly create a specific shape, on the "Creation" pane, in the "Other controls" group, expand "Shape" and choose the requested 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 have the ability to define a background image for the Rectangle, Ellipse and Diamond shapes ("Background image" option in the "Details" tab of the description window of control).
    New in version 21
    In the window editor, you have the ability to define a background image for the Rectangle, Ellipse and Diamond shapes ("Background image" option in the "Details" tab of the description window of control).
    In the window editor, you have the ability to define a background image for the Rectangle, Ellipse and Diamond shapes ("Background image" option in the "Details" tab of the description window of control).
  • 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/iPadWindows MobileUniversal Windows 10 App

Creating a Shape control in the report editor

To create a Shape control in the report editor:
  1. In the report editor, click .On the "Creation" pane, in the "Usual controls" group, expand "Shape" and select the requested shape.
  2. Click the position where the control will be created in the report.
  3. To modify the shape, display the description window of the control ("Description" from the popup menu of the control) and choose the requested 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 requested 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 final extremity of the arrow
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment