PC SOFT

WINDEV的在线文档

  • Overview
  • Handling the Cube control by programming
  • Notes
  • Limitations
  • Simulating the absence of the .Net 3.0 framework
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
The Cube control is a control that automatically performs rotations around the different axes. This control can be found in a corner of a window for example.

Caution: This control requires the .Net framework 3.0 (or later) to operate. This framework is included in Vista (and later) and it can be downloaded for Windows XP (from the Microsoft site). The first use of a control that requires this framework (Carousel control, Cube control or Xaml control) loads this framework, which may cause delay (out of our control).

To create a "Cube" control:

  1. In the window editor, click(or select "Insert .. Control .. Cube control").On the "创建" pane, in the "其他控件" group, click "立方体".
  2. Click the position where the control must be created in the window. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.

The Cube control must be associated with an image. This image will be automatically animated by the Cube control. This image can be selected in the "General" tab of the control description.

Example:

Handling the Cube control by programming
WinDev allows you to handle a Cube control by programming. To do so, use the variable of the Cube control in the code. This variable is a numeric variable.

The variable of the Cube control corresponds to the name of the Cube control.

Functions specific to the management of the Cube control:

The following functions are used to handle the Cube controls:
Xaml禁用Simulates the absence of the .Net 3.0 framework

Properties specific to the management of Cube controls:
动画时间段Used to find out or modify the rotating speed of a cube control.

To find out the entire list of WLanguage properties that can be used with a Cube control, see Properties associated with the Cube control.

Notes

Limitations

The limitations of the Cube control are as follows:
  • The .Net framework version 3.0 (or later) must be installed on the computer. This framework is included in Vista and it can be downloaded for Windows XP (from the Microsoft site).
    The first use of a control that requires this framework (Carousel, Cube or Xaml) loads this framework, which may cause delay (out of our control).
  • The application cannot be started from the network.
  • The DDW feature (Dim Disabled Windows) is disabled for all the windows containing a Cube control.
  • This control does not operate under TSE.
  • This control uses the wdxxxxaml.dll library. This library cannot be renamed when creating the executable.

Simulating the absence of the .Net 3.0 framework

When developing an application that contains a Cube control, it may be useful to find out how the application will operate when it is started on a computer not equipped with the .Net 3.0 framework (or later).

To simulate the absence of the framework on a computer:

  • use Xaml禁用.
  • rename the following registry key:
    "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v3.0".