AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Hint property gets and sets the hint text displayed when the Edit control is empty.
This hint text is displayed directly in the control and it disappears as soon as a character is entered. This hint text can be defined:
  • in WINDEV and WINDEV Mobile, in the "Help" tab of the Edit control description window,
  • in WEBDEV, in the "Content" tab of the control description window.
Example
EDT_Edit1.Hint = "Type the customer name"
EDT_Password.Hint = "Password"
EDT_Date.Hint = "Exit date, 12/06/2007"
Syntax

Getting the hint text Hide the details

<Hint text> = <Control used>.Hint
<Hint text>: Character string
Text to be displayed in the specified control when the following conditions are met:
  • The Edit control (or the control of an editable Combo Box) is empty.
  • No data is being entered in the control.
<Control used>: Control name
Name of the control used: Edit control or editable Combo Box.

Changing the hint text Hide the details

<Control used>.Hint = <Hint text>
<Control used>: Control name
Name of the control used: Edit control or editable Combo Box.
<Hint text>: Character string
Text to be displayed in the specified control when the following conditions are met:
  • The Edit control (or the control of an editable Combo Box) is empty.
  • No data is being entered in the control.
If this parameter is an empty string (""), no hint text will be displayed.
This text can correspond to a graphical string (that uses gBackground, gImage, etc.).
Remarks
Check "Blank if 0" if you want the hint text to be displayed in Numeric, Currency or Currency + Euro Edit controls.
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/06/2023

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