ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Reflection functions
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
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
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: wd300vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help