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
MaxThumbnailWidth (Property)
In french: LargeurMaxVignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..MaxThumbnailWidth is used to:
  • find out the maximum width of an item thumbnail. This item was defined in the data model editor or by programming.
  • define the maximum width 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 width of the first
// thumbnail for the description of the Photo item
Photo..MaxThumbnailWidth[1] = 50
// equivalent to Photo..MaxThumbnailWidth = 50
...
// Validate the description of the file
HDescribeFile(Customer)
Syntax

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

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

Modifying the maximum width of an item thumbnail Hide the details

<Item name>..MaxThumbnailWidth[<N>] = <New maximum width>
<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 width must be modified. If this parameter is not specified, the maximum width of the first thumbnail is modified.
<New maximum width>: Integer
New maximum width (in pixels) for the specified thumbnail. This width must be included between 1 and 65535.
Remarks
..MaxThumbnailWidth 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 ..MaxThumbnailWidth 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