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 Carrusel
  • Overview of Carousel control
  • Two modes for using the Carousel control
  • Overview
  • .NET 3.0 framework
  • WINDEV framework (GDI+)
  • Crippled mode
  • Notes
  • Simulating the absence of .Net 3.0 framework
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
Overview of Carousel control
The Carousel control is used to display an animated menu made of images.
To create a Carrousel field:
  1. On the "Creación" tab, in the "Otros controles" group, click "Carrusel".
  2. Click at the desired location to create the control.
To display the characteristics of the control, select "Description" in the context menu of the control:
  • The "General" tab is used to define the orientation, the animation and the background image.
  • The "Details" tab is used to define the display mode of the carousel control.
  • The "Content" tab is used to define the images displayed in the carousel control as well as their caption.
Remark: WINDEV can automatically create a Carousel control from several fields:
  1. Select the controls to include in the Carousel control.
  2. On the "Modificación" tab, in the "Transformaciones" group, expand "Refactorización y permutaciones" and select "Create a carousel from the selection".
Only the Image controls and the Button controls are taken into account to create this carousel.
Two modes for using the Carousel control

Overview

To optimize the Carousel control, WINDEV proposes two operating modes:
  • Using the .NET 3.0 framework.
  • Using the WINDEV framework (GDI+).

.NET 3.0 framework

To base the Carousel control on the .Net 3.0 framework, simply check the option "El control se basa en el framework .Net 3.0 (las funciones Xaml también estarán disponibles para este control)" in the "Details" tab of the control description window.
In this case:
  • The functions from the Xaml family are available for this control.
  • You can propose to download the .Net 3.0 framework if this one is not installed on the end-user computer. This framework is included in Vista and it can be downloaded for Windows XP (from the Microsoft website).
  • The first use of a control requiring the.NET 3.0 framework (Carousel control, Cube control or Xaml control) loads this framework, which may cause delay (out of our control).
  • This field consumes a lot of resources: we recommend using it on workstations with high-performance configurations.
Depending on the configuration of the computer, the display of the Carousel control will be done as follows:
"Download" option checked
"Download" option unchecked
Computer with .NET 3.0 framework
Computer without .NET 3.0 framework
Computer without .NET 3.0 framework
Computer with the GDI+ framework
Using the .NET framework
Using the GDI+ framework
Using the GDI+ framework
Computer without GDI+ framework
x
Link for downloading the .NET framework
Link for displaying a listview
Using a listview (crippled mode)

Carousel control limitations in DotNet 3.0 mode:
  • The .Net framework version 3.0 (or later) must be installed on the computer. This framework is included in Vista (and later) and it can be downloaded for Windows XP (from the Microsoft site).
  • The application cannot be started from the network.
  • The DDW (Dim Disabled Windows) feature is disabled for all the windows containing a Carousel control.
  • This control does not work under TSE.
  • This control uses the wd300xaml.dll library. This library cannot be renamed when creating the executable.

WINDEV framework (GDI+)

To base the Carousel control on the WINDEV framework, simply check the option "El control se basa en el framework WINDEV (GDI+)" in the "Details" tab of the control description window.
In this case, the functions from the Xaml family are not available for this control.
Depending on the configuration of the computer, the display of the Carousel control will be done as follows:
Computer with .NET 3.0 framework
Computer without .NET 3.0 framework
Computer with the GDI+ framework
Using the GDI+ framework
Using the GDI+ framework
Computer without GDI+ framework
x
Using a listview (crippled mode)

For more details, see Installing the GDI+ Framework.

Crippled mode

The .Net framework version 3.0 (or later) or the WINDEV framework (GDI+) is required to use the Carousel control. However, WINDEV proposes a "crippled" mode for this control so that it can be used regardless of the configuration of the end-user computer. If the .Net 3.0 framework or the WINDEV framework (GDI+) is not installed on the end-user computer, the Carousel control will be automatically replaced with a listview in crippled mode.
To use this crippled mode in your applications:
  1. Open the description of the Carousel control.
  2. On the "Details" tab, you can configure the ListView control used via "Ajustes del control ListView".
  3. Validate the control description.
The ListView control will be used according to the display mode of the Carousel control and according to the configuration of the user computer (see the previous paragraphs).
Notes

Simulating the absence of .Net 3.0 framework

When developing an application containing a Carousel control, it may be wise to run the test the application on a computer where the .Net framework version 3.0 (or later) is not installed.
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".
Notes: It is possible to automatically replace the Carousel control using the DotNet framework with a Carousel control using the WINDEV framework (GDI+).
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

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