Hi again,
Thanks a lot. It worked. I used the "loadWidgetsFromStream", since I have automatic the process of embedding
external files in my executable (in this case "form.txt"). TGUI now displays the form created by gui-builder.
Now I think I have one more to figure out: How do I get hold of the control objects created by "loadWidgetsFromStream"?
If I know this, I can start using the controls. After that, I think I will make me a class call CDialog, similar to the one in
Microsoft MFC.
Ingar
The Gui class and any container widget have a loadWidgetsFromFile function where you can pass the filename (and a loadWidgetsFromStream function in case you want to load it from memory).