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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
NbThumbnail (Property)
In french: NbVignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The NbThumbnail property is used to get the number of thumbnails generated for an item. This item was defined in the data model editor or through programming.
Remark: The HFSQL thumbnails of an item are automatically generated:
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Get the number of generated thumbnails
// and the number of expected thumbnails
// for the Customer.Photo item
NumberThumbnail is int
ExpectedNumberThumbnail is int
NumberThumbnail = Customer.Photo.NbThumbnail
ExpectedNumberThumbnail = Customer.Photo.NbDescribedThumbnail
// Same number?
IF NumberThumbnail = ExpectedNumberThumbnail THEN
Info("All the thumbnails have been generated")
ELSE
FOR Number = 1 TO ExpectedNumberThumbnail
ErrorString += "Thumbnail " + Number + Customer.Photo.InfoThumbnailGeneration[n] + CR
END
Error("Generation error", ErrorString)
END
Syntax
<Number of generated thumbnails> = <Data file>.<item>.NbThumbnail
<Number of generated thumbnails>: Integer
Number of thumbnails generated for the specified item.
<Data file>: Character string
Name of the data file used. This name was defined in the data model editor or with the File Description type.
<Item>: Character string
Name of binary memo item used. This name was defined in the data model editor or with the Item Description type.
Remarks
The NbThumbnail property is available:
  • in HFSQL Classic and HFSQL Mobile mode: on the items of a data file, view or query.
  • in HFSQL Client/Server mode: for the items found in a data file only.
Linux The NbThumbnail property is only available on data file items in HFSQL Client/Server.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment