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 indication text displayed when the edit control is empty.
This indication text is displayed in the control directly and it disappears as soon as a character is typed in the control. This indication 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.
Example
EDT_Edit1..Hint = "Type the customer name"
EDT_Pwd..Hint = "Password"
EDT_Date..Hint = "Exit date, 12/06/2007"
Syntax

Finding out the indication text Hide the details

<Indication Text> = <Control Name>..Hint
<Indication 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 indication text Hide the details

<Control Name>..Hint = <Indication Text>
<Control Name>: Character string (with or without quotes)
Name of control used: edit control or editable combo box.
<Indication 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 indication will be displayed if this parameter corresponds to an empty string ("").
This text can correspond to a graphic string (that is using gBackground, gImage, ...).
Remarks
"Reset if 0" must be checked in order for the indication 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