PC SOFT

WINDEV的在线文档

  • Overview of the Shape control
  • Control of a report or window
  • Creating a Shape control
  • To create a Shape control in the window editor
  • To create a Shape control in the report editor
  • Tips
  • How do I modify the angle of an arrow in the window editor
  • Moving the extremities of an arrow by programming
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview of the Shape control

Control of a report or window

The Shape control enables you to create geometric shapes in your windows and in your reports:
  • Rectangle
  • Line
  • Ellipse (this type of shape is not available in the reports).
  • Arrow (this type of shape is not available in the reports).

Creating a Shape control
WinDev

To create a Shape control in the window editor

To create a Shape control in the window editor:
  1. In the window editor, click(or seect "Insert .. Shape...").On the "创建" pane, in the "其他控件" group, click "形状".
  2. Click the position where the control must 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 characteristics of the control, select "Description" from the popup menu of the control.

Notes:
  • To directly create a specific shape, on the "创建" pane, in the "其他控件" group, expand "形状" 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.

WinDev

To create a Shape control in the report editor

To create a Shape control in the report editor:
  1. In the report editor, click.On the "创建" pane, in the "常用控件" group, expand "形状" and select the requested shape.
  2. Click the position where the control must 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
WinDev

How do I 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.

WinDev

Moving the extremities of an arrow by programming

To move the extremities of an arrow, use the ArrowXXX functions:
  • 箭头开始 is used to position the source extremity of the arrow
  • 箭头结束 is used to position the final extremity of the arrow