PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ExecutePresetAction (Function)
In french: ExécuteActionPrédéfinie
Runs a preset WINDEV action.
New in version 28
Linux This function is now available for WINDEV applications in Linux.
Example
WINDEVReports and QueriesUser code (UMC)
// Open an explorer on the "C:\My Documents\" directory
ExecutePresetAction(actBrowseDirectory, "C:My Documents\")
Syntax
ExecutePresetAction(<Action> [, <Parameter 1> [... [, <Parameter N>]]])
<Action>: Integer constant
Preset action to run. The available constants are as follows:
ConstantActionParameters
actPastePaste clipboard content<none>
actCopyCopy the selected content into the clipboard<none>
actCutCut the selected content from the clipboard<none>
actEraseRWDiskErase the content of a directory on CD-RW/DVD-RW

AndroidJava Constant not available
Constant used to specify the erase mode:
  • burnerFullErasing: the data on the media is fully erased (may take some time).
  • burnerFastErasing: the data on the media is quickly erased.
actSendEmailSend an email1: SMTP server
2: Username
3: Password
4: Sender
5: Recipient
6: Subject
7: Content
8: Port number
actBrowseDirectoryOpen an explorer on a directory

AndroidJava Constant not available.
1: Directory path
actBurnADirectoryBurn the content of a directory onto a CD-R/DVD-R

AndroidJava Constant not available.
1: Directory path
actMinimizeMinimize the current window<none>
actWinImageToClipboardCopy the image of the current window into the clipboard<none>
actRunContextSensitiveHelpSwitch to "Context-sensitive help" mode

AndroidJava Constant not available.
<none>
actRunInternetSiteOpen an Internet browser on an URL

Java Constant not available.
1: URL to display
actReadLastRead the last record (in the data file currently used).<none>
actReadPreviousRead the previous record (in the data file currently used).<none>
actReadFirstRead the first record (in the data file currently used).<none>
actReadNextRead the next record (in the data file currently used).<none>
actOpenReportOpen the print preview of a report

AndroidJava Constant not available.
1: Report name

Reports and Queries Only the actOpenReport and actSendEmail constants are available.
<Parameter 1>: Character string or integer (optional)
First parameter associated with the preset action.
<Parameter N>: Character string or integer (optional)
Nth parameter associated with the preset action.
Business / UI classification: UI Code
Component: wd280action.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment