ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
  • Item thumbnail
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Thumbnail (Property)
In french: Vignette
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The property Thumbnail property allows you to:
  • get the value of an item thumbnail. This item was defined in the data model editor or programmatically. For more details, see HFSQL thumbnails.
  • WEBDEV - Server codeWEBDEV - Browser codePHP find out and modify the image associated with a Thumbnail control.
Example
// Valeur de la première vignette de la rubrique Client.Photo
ValeurVignette is string
ValeurVignette = Client.Photo.Vignette[1]
// équivalent à ValeurVignette = Client.Photo.Vignette

// Valeur nulle ?
IF ValeurVignette <> "" THEN
	Info("La valeur de cette vignette est : " + ValeurVignette)
ELSE
	ChaîneErreur = Client.Photo.InfoGénérationVignette[1]
	Error("Erreur de génération", ChaîneErreur)
END
WEBDEV - Server codeWEBDEV - Browser codePHP
Trace(VIG_MaVignette.Vignette)
Syntax

Getting the value of an item thumbnail Hide the details

<Valeur> = <Fichier de données>.<Rubrique>.Thumbnail
<Value>: Character string
Image of specified thumbnail in binary memo format.
<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 is defined in the data model editor or with the Item Description type.
WEBDEV - Server codeWEBDEV - Browser codePHP

Getting the path to the image associated with a Thumbnail control Hide the details

<Result> = <Thumbnail control>.Thumbnail
<Result>: Character string
Path to the image used for the thumbnail. This path is relative to the "_WEB" directory of the project.
<Thumbnail control>: Control name
Name of Thumbnail control to use.
WEBDEV - Server codeWEBDEV - Browser codePHP

Changing the path to the image associated with a Thumbnail control Hide the details

<Thumbnail control>.Thumbnail = <New image>
<Thumbnail control>: Control name
Name of Thumbnail control to use.
<New image>: Character string
New full path to image used as thumbnail. This path is relative to the "_WEB" directory of the project.
Remarks

Item thumbnail

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

Last update: 05/13/2025

Send a report | Local help