ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


New WINDEV, WEBDEV and WINDEV Mobile 28 feature!
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
Component (Type of variable)
In french: Component
Inherits from %1
The Component type is used to easily handle an external component. This makes it possible to get a global interface that can be used in the component.
Example
// Load a component
compo is Component
IF ComponentLoad(compo, fExeDir() + fSep() + "ComponentExample.wdk") THEN
Trace("OK")
// Execution of the component procedures
Trace(ComponentExecute("GlobalProcedures.Test"))
Trace(ComponentExecute("GlobalProcedures.TestWithParameters", (1)))
END
Syntax
MyVariable is Component
Remarks
  • To initialize a Component variable, use ComponentLoad.
  • A Component variable can be handled using the following functions:
    New in version 28
    ComponentExecute
    Executes a global procedure present in an external component. This external component is loaded with ComponentLoad.
    ComponentLoadLoads an external component. This component can be:
    • an external component present in the current project.
    • an external component independent of the current project.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment