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 / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
The BackgroundImageState property allows you to get and change the number of drawings in the image associated with the background of a Button control.
Remarks:
  • Each drawing in the image corresponds to the state of a button. Drawings must follow the following order: Normal, Pushed, Grayed, Focus and Overview.
  • The number of drawings found in an image is defined in the window editor, in the "General" tab of the control description.
Ejemplo
// Modify the image associated with the border of the "BTN_Help" button
BTN_Help.BackgroundImage = "C:\MyImages\Border.gif"
// Initialize the number of drawings found in the image
// associated with the border of the "BTN_Help" button
BTN_Help.BackgroundImageState = 3
Sintaxis

Finding out the number of drawings found in the image associated with the border of a Button control Ocultar los detalles

<Current number of drawings> = <Button control>.BackgroundImageState
<Current number of drawings>: Integer
Number of drawings found in the image associated with the border of the specified button. This number is between 1 and 5.
<Button control>: Control name
Name of Button control to use.

Modifying the number of drawings found in the image associated with the border of a Button control Ocultar los detalles

<Button control>.BackgroundImageState = <New number of drawings>
<Button control>: Control name
Name of Button control to use.
<New number of drawings>: Integer
New number of drawings found in the image associated with the border of the specified button. This number must be between 1 and 5.
Observaciones
The BackgroundImageState property applies only to Button controls.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

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