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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 26, It is recommended to use the new required or invalid input check. For more details, see Required or invalid input.
Shows an error icon next to an Edit control to indicate that the input is invalid.
Versions 26 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 26
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// Exit from EDT_PinCode
IF Length(EDT_PinCode)<4 THEN
InvalidInputShowIcon("The PIN code must contain at least 4 characters.", icoLeft + icoTop)
ReturnToCapture(EDT_PinCode)
END
Syntax
InvalidInputShowIcon(<Tooltip text> [, <Position> [, <Icon>]])
<Tooltip text>: Character string (with quotes)
Content of the tooltip displayed when the icon is hovered over or clicked on.
<Position>: Optional integer
Position of the displayed icon:
icoRight
(Default value)
The icon is displayed to the right of the control.
icoLeftThe icon is displayed to the left of the control.
icoTopThe icon is displayed above the control.
icoBottomThe icon is displayed below the control.
<Icon>: Optional character string (with quotes)
Full name of the image to display. This parameter can correspond to any type of image. It will be displayed as a 15 x 15 icon.
If this parameter is not specified, the default icon (! in a red circle) will be displayed.
Remarks
  • InvalidInputShowIcon must be called from an Edit control, otherwise it will have no effect.
  • If the value of the control changes, the icon will be deleted
Business / UI classification: UI Code
Component: wd260obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment