PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
MaxThumbnailHeight (Property)
In french: HauteurMaxVignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..MaxThumbnailHeight is used to:
  • find out the maximum height of an item thumbnail. This item was defined in the data model editor or by programming.
  • define the maximum height of an item thumbnail (when the item is described by programming).
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Describe the Photo item
Photo is Item Description
...
// Define the maximum height of the first
// thumbnail for the description of the Photo item
Photo..MaxThumbnailHeight[1] = 50
// equivalent to Photo..MaxThumbnailHeight = 50
...
// Validate the description of the file
HDescribeFile(Customer)
Syntax

Finding out the maximum height of an item thumbnail Hide the details

<Current maximum height> = <File name>.<Item name>..MaxThumbnailHeight[<N>]
<Current maximum height>: Integer
Maximum height (in pixels) of the specified thumbnail.
<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 whose maximum height is requested. If this parameter is not specified, the maximum height of the first thumbnail is returned.

Modifying the maximum height of an item thumbnail Hide the details

<Item name>..MaxThumbnailHeight[<N>] = <New maximum height>
<Item name>: Character string (with or without quotes)
Name of binary memo item used. This name was defined by the Item Description type.
<N>: Optional integer
Number of the thumbnail whose maximum height must be modified. If this parameter is not specified, the maximum height of the first thumbnail is modified.
<New maximum height>: Integer
New maximum height (in pixels) for the specified thumbnail. This height must be included between 1 and 65535.
Remarks
..MaxThumbnailHeight is available:
  • in HFSQL Classic: 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 ..MaxThumbnailHeight is available in HFSQL Client/Server for the items of a data file.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment