[Gambas-user] Loading Components and Classes - Source Code

Hans Lehmann hans at gambas-buch.de
Sat Aug 18 19:25:23 CEST 2018


Hello,

how to ensure in a project in source code (!) that for example the two 
components gb.desktop and gb.util are loaded for program start. Of the 
component gb.util, the class Shell is required in the project.

That was my intention, but it was not successful:

Public Sub _new()
   Component.Load("gb.desktop")
   Component.Load("gb.util")
   Class.Load("Shell")
   ...
End

With kind regards


More information about the User mailing list