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
Seeks a procedure identified by its name. The procedure found can be run directly.
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.
Component : wd250vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment