PC SOFT

WINDEV的在线文档

文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

..提示 is used to find out and modify the information text displayed when the edit control is empty.

This information text is directly displayed in the control and it disappears as soon as a character is typed in the control. This indication text can be entered:

  • in WinDev and WinDev Mobile, in the "Help" tab of the description window of the edit control,
  • in WebDev, in the "Content" tab of the description window of the control.
例子
EDT_Edit1..提示="Enter the customer name"
EDT_Pwd..提示="Password"
EDT_Date..提示="Exit date, 12/06/2007"

语法

Finding out the information text 隐藏详细信息

<Indication Text> = <Control Name>..提示
<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 the control used: edit control or editable combo box.

Modifying the information text 隐藏详细信息

<Control Name>..提示 = <Indication Text>
<Control Name>: Character string (with or without quotes)
Name of the 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 (using for example 图示背景, 图示图片, ...).

注意
"Reset if 0" must be checked in order for the indication text to be displayed in the Numeric, Currency or Currency + Euro edit controls.