|
|
|
|
|
SeekProcedure (Function) In french: ChercheProcédure Seeks a procedure identified by its name. The procedure found can be run directly.
NameCallBackProcedure is string
NameCallBackProcedure = "Global_procedures_of_MyProject.CallBack"
procCallback is procedure
procCallback = SeekProcedure(NameCallBackProcedure)
IF procCallback = Null THEN
Info(StringBuild("The <%1> procedure was not found.", ...
NameCallBackProcedure))
ELSE
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. | trtProjectProcedure | Search among the procedures of the host project of the component. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|