PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • 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
The Property Vignette allows you 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 PHP sites.
New in version 15
PHP This property is now available for PHP sites.
PHP This property is now available for PHP sites.
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.
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> = <Data file>.<Item>.Thumbnail
<Value>: Character string
Image of specified thumbnail in binary memo format.
<Data file>: 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>: 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> = <control Vignettes>.Thumbnail
<Result>: Character string
Path of the Image used for the sticker. This path is relative to the "_WEB" directory of the project.
<control Vignettes>: 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

<control Vignettes>.Miniature = <New image>
<control Vignettes>: Control name
Name of Thumbnail control to use.
<New image>: Character string (with quotes)
New path from Image used for the vignette. This path is related to the "_WEB" directory of the project.
Remarks

Item thumbnail

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