PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..Hint is used to find out and modify the hint text displayed when the edit control is empty.
This hint text is displayed in the control directly and it disappears as soon as a character is typed in the control. This hint text can be typed:
  • in WINDEV and WINDEV Mobile, in the "Help" tab of the description window of edit control,
  • in WEBDEV, in the "Content" tab of the description window of control.
Versions 22 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 22
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
EDT_Edit1..Hint = "Type the customer name"
EDT_Pwd..Hint = "Password"
EDT_Date..Hint = "Exit date, 12/06/2007"
Syntax

Finding out the hint text Hide the details

<Hint text> = <Control name>..Hint
<Hint text>: Character string
Text that will be displayed in the specified controls when the following conditions are fulfilled:
  • Empty edit control (or control of an editable Combo Box).
  • The user is not currently entering data in the control.
<Control name>: Character string (with or without quotes)
Name of control used:
  • edit control or editable Combo Box.

Modifying the hint text Hide the details

<Control name>..Hint = <Hint text>
<Control name>: Character string (with or without quotes)
Name of control used: edit control or editable Combo Box.
<Hint text>: Character string (with quotes)
Text that will be displayed in the specified controls when the following conditions are fulfilled:
  • Empty edit control (or control of an editable Combo Box).
  • The user is not currently entering data in the control.
No hint will be displayed if this parameter corresponds to an empty string ("").
This text can correspond to a graphic string (using for example gBackground, gImage, etc.).
Remarks
"Reset if 0" must be checked in order for the hint text to be displayed in the Numeric, Currency or Currency + Euro edit controls.
Minimum version required
  • Version 12
This page is also available for…
Comments
Video Hint
https://youtu.be/dtQh2R4_p-I


https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1993-windev-comandos-34.html
amarildo
23 Jan. 2019
I WILL SHOW HOW TO MODIFY THE TEXT SHOWN WHEN I CHECK IT EDITION IS EMPTY
EDT_OBSERVACAO..Hint="VOU DIGITAR QUALQUER COISA"
EDT_OBSERVACAO..HintTextColor=LightGreen

// BLOG COM VIDEO E EXEMPLO

http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1222-windev-dicas-036-hint.html

https://www.youtube.com/watch?v=yJ7-7_lPkCQ

De matos
26 Jul. 2017