PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Handling the Cube control by programming
  • Notes
  • Limitations
  • Simulating the absence of .Net 3.0 framework
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
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 "Creation" pane, in the "Other controls" group, click "Cube".
  2. Click the position where the control will be created in the window. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of 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:
XamlDisableSimulates the absence of the .Net 3.0 framework

Properties specific to the management of Cube controls:
AnimationPeriodUsed 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 .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 XamlDisable.
  • rename the following registry key:
    "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v3.0".
Minimum required version
  • Version 11
Comments
Video sobre Cube
https://youtu.be/BHXJ4J_n-WM
amarildo
Jul. 18 2018