PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • A specific popup menu
  • Operating mode
  • Implementation
  • Thumbnail for previewing the images or the PDF files
  • Operating mode
  • Implementation
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
Overview
The edit controls that use the "File name and full path" or "File name without path" input mask propose several AAFs (Automatic Application Features):
A specific popup menu

Operating mode

A popup menu is automatically proposed for the edit controls used to enter a file name and path.
This popup menu contains the following options specific to the files:
  • Versions 20 and later
    "Browse": This option is used to open the Windows file picker to select the requested file.
    New in version 20
    "Browse": This option is used to open the Windows file picker to select the requested file.
    "Browse": This option is used to open the Windows file picker to select the requested file.
  • "Open": This option is used to open the file in the associated software on the current computer.
  • "Open with": This option is used to open the file in one of the software proposed by the system.
  • "Open the file location": This option is used to open the file explorer on the directory containing the file.
  • "Print": This option is used to print the file.
  • "Send by email": This option is used to send the file by email. The messaging software used is automatically opened and the file is added in attachment.
Versions 20 and later
Note: The "Browse" option is also available for the edit controls whose type is "Directory path".
New in version 20
Note: The "Browse" option is also available for the edit controls whose type is "Directory path".
Note: The "Browse" option is also available for the edit controls whose type is "Directory path".

Implementation

The popup menu for the files and file paths is automatically implemented from the version 17.
Like all the popup menus proposed by the AAFs, you have the ability to configure the default options proposed by the control. See Configuring the AAF menus for more details.
By programming:
  • ExecuteAAF associated with specific constants is used to directly run the options of the popup menu.AAFExecute (ExecuteAAF) associated with specific constants is used to directly run the options of the popup menu.
  • DisableAAF associated with specific constants is used to delete some options from the popup menu of the specified edit control. AAFDisable (or DisableAAF) associated with specific constants is used to delete some options from the popup menu of the specified edit control.
Thumbnail for previewing the images or the PDF files

Operating mode

When entering or hovering a file path, if this file is an image or a PDF document, a resizable thumbnail is automatically displayed.
Therefore, the user can check whether the proper image or document was selected.
Automatic image thumbnail
The dimension of the thumbnail is automatically calculated.
Note: If necessary, the user can disable the display of thumbnails via the "Disable the image preview" option found in the popup menu of the file path.

Implementation

The viewing of image files and PDF files in a thumbnail is automatically implemented from version 17.
In programming, DisableAAF associated with the aafDisplayThumbnail constant deletes the automatic display of the file thumbnail for the specified edit control. In programming, AAFDisable (or DisableAAF) associated with the aafDisplayThumbnail constant disables the automatic display of the file thumbnail for the specified edit control.
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment