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 .Net (WinForm)
  • Overview
  • Using the properties of the control
  • Managing the delegates
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
Manipulating WinForm .Net controls programmatically
Overview
WINDEV allows you to manipulate a DotNet field (WinForm) by programming. To do so, use the control variable in the code.
The variable of the .Net control (WinForm) corresponds to the name of the .Net control (WinForm).
Using the properties of the control
When the .Net control (WinForm) is created, the code editor proposes the completion on all the properties of the control supplied by the assembly.
// DOTNET_Bouton_NEt1 = Nom du champ

// Modification du libellé
DOTNET_Bouton_NEt1.Text = "Bouton .NET"
DOTNET_Bouton_NEt1.BackColor = Color.FromArgb(111,87,235)
Managing the delegates
To call a procedure from the .NET control, use DotNetDelegate.
// DOTNET_Bouton_NEt1 = nom du champ
// Ajout d'un délégué sur le clic
DOTNET_Bouton_NEt1.add_Click(DotNetDelegate(CallbackWinDev,"System.EventHandler"))
Versión mínima requerida
  • Versión 16
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

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