PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Limitation
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
InfoThumbnailGeneration (Property)
In french: InfoGénérationVignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The InfoThumbnailGeneration property is used to determine if the thumbnails of an item have been generated successfully.
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.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
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
// Generate the first thumbnail for the description of the Photo item?
InfoGene is string
InfoGene = Product.Photo.InfoThumbnailGeneration[1]
// equivalent to InfoGene = Photo.InfoThumbnailGeneration
// Generate the Nth thumbnail of the Product.Image item?
InfoGene is string
InfoGene = Product.Image.InfoThumbnailGeneration[num]
 
IF InfoGene = "" THEN
// Thumbnail number greater than the expected number of thumbnails?
IF num > Product.Image.NbDescribedThumbnail THEN
Error("This thumbnail does not exist")
ELSE
Info("The thumbnail was successfully generated")
END
ELSE
// Generation error
Error("Generation error", InfoGene)
END
Syntax
Generation information> = <Data file>.<Item>.InfoThumbnailGeneration[<N]
<Generation information>: Character string
  • Empty string ("") if the specified thumbnail was successfully generated,
  • Error message otherwise.
An empty string ("") is also returned:
  • if <N> is greater than the number of thumbnails described for the item. To get the number of thumbnails in a given item, use the NbDescribedThumbnail property.
  • if the current record was written by a Hyper File 9 (or earlier) engine (see the Notes).
<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.
<N>: Optional integer
Number of the thumbnail used. If this parameter is not specified, the generation information of the first thumbnail is returned.
Remarks

Limitation

The InfoThumbnailGeneration property is available:
  • in HFSQL Classic: on the items of a data file, view or query.
  • in HFSQL Client/Server mode: on the items found of a data file only.
Linux The InfoThumbnailGeneration 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