PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV 25 feature!
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
Shows an error icon next to an Edit control to indicate that the input is invalid.
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 : wd250obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment