The
CallHostGuiSub statement and function allows Basic4ppc host program
subroutines that manipulate Graphical User Interface elements to be
directly called from within a B4Script but necessarily provides
somewhat lower performance than using CallHostSub. If this help
file has been supplied with a finished Basic4ppc application then
there should be other documentation supplied that will detail the
subroutine names that may be used by CallHostGuiSub together with
their parameters and a description of their
functionality.
Syntax:
CallHostGuiSub (Sub Name [, Arguments List])
Sub
Name - A string that holds the target sub name.
Arguments
List - List of arguments passed to the sub (separated by
commas).
Example
statement:
CallGuiHostSub("SubWithOneParam",
12345)
Example
function:
ret =
CallHostGuiSub("DoSomethingWithThis", 12345)