ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Automatic Application Features (AAF) / AAF on Edit controls
  • Overview
  • A specific context menu
  • Operating mode
  • Implementation
  • Thumbnail for previewing the images or the PDF files
  • Operating mode
  • Implementation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 context menu

Operating mode

A context menu is automatically proposed for the edit controls used to enter a file name and path.
This context menu contains the following options specific to the files:
  • "Browse": This option opens the Windows file picker to select the desired file..
  • "Open": This option opens the file in the associated default software on the current workstation..
  • "Open with": This option opens the file in one of the software programs available on the system..
  • "Open file location": This option opens the file explorer on the directory containing the file..
  • "Print": This option allows you to print the file directly..
  • "Send by email": This option sends the file by email.. The messaging software used is automatically opened and the file is added in attachment.
Note: The "Browse" option is also available for "Directory path" type Edit controls.

Implementation

The context menu for the files and file paths is automatically implemented from the version 17.
Like all the context menus proposed by the AAFs, you have the ability to configure the default options proposed by the control. For more details, see Configuring the AAF menus.
Through programming:
  • AAFExecute associated with specific constants is used to directly run the options of the context menu.
  • AAFDisable associated with specific constants is used to delete some options in the context 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 required, the user can disable the thumbnail display by selecting "Disable image preview" from the file path context menu..

Implementation

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

Last update: 09/21/2024

Send a report | Local help