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
ExecutePresetAction (Function)
In french: ExécuteActionPrédéfinie
Runs a preset WINDEV action.
Example
WINDEVUser 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 the 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

Java Constant not available
<none>
actSendEmailSend an email1: SMTP server
2: Login
3: Password
4: Sender
5: Recipient
6: Subject
7: Content
8: Port number
actBrowseDirectoryOpen an explorer on a directory

Java Constant not available.
1: Path of directory
actBurnADirectoryBurn the content of a directory onto a CD-R/DVD-R

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

Java 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

Java Constant not available.
1: Name of report
<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.
Component : wd240action.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment