PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
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
// Sortie de SAI_CodePin
IF Length(SAI_CodePin)<4 THEN
InvalidInputShowIcon("Le code PIN doit faire au moins 4 caractères.",
icoLeft + icoTop)
SetFocusAndReturnToUserInput(SAI_CodePin)
END
Syntax
InvalidInputShowIcon(<Tooltip text> [, <Position> [, <Icon>]])
<Tooltip text>: Character string
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
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: wd270obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment