AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Forma
  • Shape control overview
  • 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 change the angle of an arrow in the window editor
  • Moving the ends of an arrow programmatically
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Shape control overview

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 reports).
  • Diamond (this type of shape is not available in reports).
  • Arrow (this type of shape is not available in reports).
  • Line.
Creating a Shape control
WINDEVJava

Creating a Shape control in the window editor

To create a Shape control in the window editor:
  1. On the "Creación" tab, in the "Otros controles" group, click "Forma".
  2. Click at the desired location to create the control. The shape creation wizard starts. Select the type of shape you want to create and its properties (line thickness, etc.).
  3. Validate the shape creation.
To view the characteristics of the control, select "Description" in the context menu.
Remarks:
  • To directly create a specific shape, on the "Creación" tab, in the "Otros controles" group, expand "Forma" and select the desired shape.
  • From version 12 onwards, Arrow, Ellipsis and Line shapes use GDI+ framework: this reduces the effects of aliasing.. If your window contains Shape controls that have been created with an earlier version, this new drawing mode is automatically applied.
  • 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).
  • WINDEV In the window editor, ShapePolygon is used to create a free shape.
WINDEV

Creating a Shape control in the report editor

To create a Shape control in the report editor:
  1. On the "Creación" tab, in the "Visual" group, click "Forma" and select the desired shape.
  2. Click where you want to create the control.
  3. To modify the shape, open the control description window ("Description" in the context menu of the control) and choose the desired shape in the "General" tab.
Tips
WINDEV

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

To change the angle of an arrow in the editor, you must:
  1. Select the end of the arrow with the mouse.
  2. Hold down the left mouse button.
  3. Move the mouse until you get the desired angle.
WINDEV

Moving the ends of an arrow programmatically

To move the extremities of an arrow, use the ArrowXXX functions:
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 24/09/2024

Señalar un error o enviar una sugerencia | Ayuda local