PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Limitation
  • Version 9 or earlier
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
InfoThumbnailGeneration (Property)
In french: InfoGénérationVignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..InfoThumbnailGeneration is used to find out whether the thumbnails of an item have been successfully generated.
This item was defined in the data model editor or by programming.
Note: The HFSQL thumbnails of an item are automatically generated:
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the 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.
Note: 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 number of described 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> = <File name>.<Item name>..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 find out the number of thumbnails described for a given item, use ..NbDescribedThumbnail.
  • if the current record was written by a Hyper File 9 (or earlier) engine (see the Notes).
<File name>: Character string (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File description type.
<Item name>: Character string (with or without quotes)
Name of binary memo item used. This name was defined in the data model editor or by 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

..InfoThumbnailGeneration is available:
  • in HFSQL Classic and in HFSQL Mobile: for the items found in a data file, in a view or in a query.
  • in HFSQL Client/Server: for the items found in a data file only.

Version 9 or earlier

The Hyper File thumbnails are not available in version 9 or earlier. Therefore, the records written by a Hyper File 9 (or earlier) engine cannot contain any Hyper File thumbnails.
The table below presents the use of binary memos and thumbnails in an application developed in version 9 (or earlier) and in an application developed in a later version that is using the same data files:
Application (or site) in version 9 or earlierApplication (or site) in version 10 or later
New record written by a Hyper File 9 (or earlier) engineImage displayed: Binary MemoImage displayed: Binary Memo
New record written by a Hyper File 10 engineImage displayed: Binary MemoImage displayed: Thumbnail
Record written by a Hyper File 9 (or earlier) engine and modified in version 10 (the value of the binary memo item is modified)Image displayed: Binary MemoImage displayed: Thumbnail
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment