PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Seeks a procedure identified by its name. The procedure found can be run directly.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Example
// Name of the procedure that must be found and run
NameCallBackProcedure is string
NameCallBackProcedure = "Global_procedures_of_MyProject.CallBack"
// Variable used to retrieve the result of the search for the procedure
procCallback is Procedure

// Seeks the procedure whose name is found in the "NameCallBackProcedure" variable
procCallback = SeekProcedure(NameCallBackProcedure)

// Checks whether the sought procedure was found
IF procCallback = Null THEN
// Procedure not found
Info(StringBuild("The <%1> procedure was not found.", ...
NameCallBackProcedure))
ELSE
// Procedure found
// Call to the procedure found
procCallback("Parameters")
END
Syntax
<Result> = SeekProcedure(<Procedure Name> [, <Option>])
<Result>: Procedure variable
  • Name of the Procedure variable that will correspond to the procedure found.
  • "NULL" if no procedure is found.
<Procedure Name>: Character string (with or without quotes)
Name of the procedure to find. This name can be prefixed by the set of procedures or by the name of the window in which the procedure is found.
<Option>: Optional Integer constant
Search mode of the procedure:
trtProcedure
(Default value)
Search among the procedures of the project.
trtProjectProcedureSearch among the procedures of the host project of the component.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment