PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Item thumbnail
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
Thumbnail (Property)
In French: Vignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..Thumbnail is used to:
  • find out the value of an item thumbnail. This item was defined in the data model editor or by programming.
  • WEBDEV - Server codeWEBDEV - Browser codePHP find out and modify the image associated with a Thumbnail control.
Versions 15 and later
PHP This property is now available for the PHP sites.
New in version 15
PHP This property is now available for the PHP sites.
PHP This property is now available for the PHP sites.
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.
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.
Versions 23 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 23
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
// Value of first thumbnail of Customer.Photo item
ThumbnailValue is string
ThumbnailValue = Customer.Photo..Thumbnail[1]
// equivalent to ThumbnailValue = Customer.Photo..Thumbnail

// Null value?
IF ThumbnailValue <> "" THEN
Info("The value of this thumbnail is: " + ThumbnailValue)
ELSE
ErrorString = Customer.Photo..InfoThumbnailGeneration[1]
Error("Generation error", ErrorString)
END
WEBDEV - Server codeWEBDEV - Browser codePHP
Trace(THUMB_MyThumbnail..Thumbnail)
Syntax

Finding out the value of an item thumbnail Hide the details

<Value> = <File Name>.<Item Name>..Thumbnail
<Value>: Character string
Image of specified thumbnail in binary memo format.
<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.
WEBDEV - Server codeWEBDEV - Browser codePHP

Finding out the path of image associated with a Thumbnail control Hide the details

<Result> = <Thumbnail Control>..Thumbnail
<Result>: Character string
Full path of image used for the thumbnail.
<Thumbnail Control>: Control name
Name of Thumbnail control to use.
WEBDEV - Server codeWEBDEV - Browser codePHP

Modifying the path of image associated with a Thumbnail control Hide the details

<Thumbnail Control>..Miniature = <New Image>
<Thumbnail Control>: Control name
Name of Thumbnail control to use.
<New Image>: Character string (with quotes)
New full path of image used for the thumbnail.
Remarks

Item thumbnail

..Thumbnail 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.
Linux ..Thumbnail is available in HFSQL Client/Server for the items of a data file.
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment