PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
Hint is used to find out and modify the information 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 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 the control.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
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 used>.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 used>: Control name
Name of the control used: edit control or editable Combo Box.

Modifying 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 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 graphical string (that uses 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
Click [Add] to post a comment