PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Checks whether an image was loaded in memory.
Reminder: LoadImage or LoadImageSheet are used to load images in memory. These images can be numbered from 1 to 9. gImageExists is used to find out whether the image N was loaded in memory. Then, this image can be used by gImage.
Example
// Loads the image #3 if it was not loaded yet
IF not gImageExists(3) THEN
LoadImage(3, "Logo.png")
END
STC_TITLE = "Our logo: " = gImage(3)
Syntax
<Result> = gImageExists(<Image Identifier>)
<Result>: Boolean
  • True if the image was loaded in memory.
  • False otherwise.
<Image Identifier>: Integer
Identifier of the image (included between 1 and 9) sought in memory. This identifier is returned by LoadImage or LoadImageSheet.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment