ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
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
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 determine if image N has been successfully 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 image sought in memory (included between 1 and 9). This identifier is returned by LoadImage or LoadImageSheet.
Component: wd290obj.dll
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help