[Gambas-user] Loading GUI component as runtime

Brian G brian at westwoodsvcs.com
Fri May 22 21:34:52 CEST 2020


I would like to load the GUI component at run time if needed 

I Can 
component.load("gb.data") 

Dim id As Object = classes["List"].new() 
id.append("hello") 
id.append("fat") 

For Each s As String In id 
Print s 
Next 

This type of component works fine but when i do 
component.load("gb.gui") 

it always returns an error 

gb.gui: error: cannot load component 'gb.qt5' or sometimes 'gb.gtk3' depending if i test from ide or standalone 
Can anyone help me get this to work correctly? Am I doing something wrong? 

Thank You 
Brian G 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200522/f8ccb8e9/attachment.html>


More information about the User mailing list