<HTML><BODY><p style="margin-top: 0px;" dir="ltr">Yes loaded image, and both other required classes first but it complains it can't load .</p>
<p dir="ltr">Component.load("gb.image")<br> Component.load("gb.draw")<br> Component.load("gb.geom")</p>
<p dir="ltr">When I load gb.gui I get same error can't load </p>
<p dir="ltr">When I load gb.qt5 or gb.gtk3 it complains that</p>
<p dir="ltr">Cannot load class 'UserControl' :. Loading has already failed<br> Error #2: cannot load class '_Gui': program is exiting </p>
<div id="mail-app-auto-default-signature">
<p dir="ltr">--<br> Thanks<br> Brian</p>
</div>Friday, 22 May 2020, 01:49PM -07:00 from T Lee Davidson <a href="mailto:t.lee.davidson@gmail.com">t.lee.davidson@gmail.com</a>:<br><br><blockquote id="mail-app-auto-quote" cite="15901805620000014868" style="border-left:1px solid #0878BD; margin:0px 0px 0px 10px; padding:0px 0px 0px 10px;">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div >
<base target="_self" href="https://e-aj.my.com/" />
<div id="style_15901805620000014868_BODY">On 5/22/20 3:34 PM, Brian G wrote:<br>
> I would like to load the GUI component at run time if needed<br>
> <br>
> I Can<br>
> component.load("gb.data")<br>
> <br>
> Dim id As Object = classes["List"].new()<br>
> id.append("hello")<br>
> id.append("fat")<br>
> <br>
> For Each s As String In id<br>
> Print s<br>
> Next<br>
> <br>
> This type of component works fine but when i do<br>
> component.load("gb.gui")<br>
> <br>
> it always returns an error<br>
> <br>
> gb.gui: error: cannot load component 'gb.qt5' or sometimes 'gb.gtk3' depending if i test from ide or standalone<br>
> Can anyone help me get this to work correctly? Am I doing something wrong?<br>
> <br>
> Thank You<br>
> Brian G<br>
> <br>
> <br>
> ----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" target="_blank" >http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
> <br>
<br>
The documentation for gb.qt5 is the same as that for gb.qt4. And, both gb.qt4 and gb.gtk3 require gb.image. You may need to load <br>
that first.<br>
<br>
<br>
-- <br>
Lee<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" target="_blank" >http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</div>
<base target="_self" href="https://e-aj.my.com/" />
</div>
</div>
</blockquote></BODY></HTML>