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.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
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 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

AndroidJava 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

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

AndroidJava 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

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