|
|
|
|
|
- Overview
- Handling Cube controls programmatically
- Notes
- Limitations
- Simulating the absence of .Net 3.0 framework
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. Warning: This field requires the DotNet 3.0 framework or higher 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 (Carousel control, Cube control or Xaml control) loads this framework, which may cause delay (out of our control). To create a Cube control : - On the "Creación" tab, in the "Otros controles" group, click "Cubo".
- Click at the desired location to create the control. The control appears in the editor.
To display the control characteristics, select "Description" in the context 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. Handling Cube controls programmatically WINDEV allows you to manipulate a Cube control programmatically. To do so, use the variable of the Cube control in the code. This variable is of type numeric. The variable of the Cube control corresponds to the name of the Cube control. Cube control functionsThe following functions can be used to manipulate Cube controls: | | XamlDisable | Simulates the absence of .Net 3.0 framework. | Cube control propertiesThe following properties can be used to manipulate Cube controls: | | AnimationPeriod | La propiedad AnimationPeriod se utiliza para obtener y modificar la velocidad de rotación de la animación en los controles Cubo o Carrusel. |
For a complete list of WLanguage properties that can be used with Cube controls, see Cube control properties. 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 work under TSE.
- This control uses the wd300xaml.dll library. This library cannot be renamed when creating the executable.
Simulating the absence of .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 the XamlDisable function.
- rename the following registry key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v3.0".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|