|
|
|
|
|
- Overview
- A specific context menu
- Operating mode
- Implementation
- Thumbnail for previewing the images or the PDF files
- Operating mode
- Implementation
FAA: Edit control fields for file paths
The edit controls that use the "File name and full path" or "File name without path" input mask propose several AAFs (Automatic Application Features): 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.
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|