renez
New Member
Posts: 14
|
Post by renez on Dec 19, 2022 12:30:24 GMT
Hi all, I struggle to get my 'set color' settings loaded at start of a executable gui (.exe).
I added the commands in my 'start-up gui' (see 'Auto Guis') which perfectly defines my preferred colors. Then running my program as normal '.gui' all my definitions ie. 'attr color myBlueLight/myBG' can be used strait away in my ie. 'xTextbox' specifications without refreshing the event.
But, as documented, in the .exe version (compiled version) then 'start-up gui' is not loaded. Does somebody got an idea to overcome this problem without modifying 'Gui4Cli.gui' itself?
Any help is appreciated. René
|
|
|
Post by Admin on Dec 19, 2022 13:56:26 GMT
I don't know if I understand correctly, but you can have an intermediate gui that loads your main gui.
So have a gui named "mystartup.gui" which you would put 1st in the exe's file list, and in there
xOnload gosub #this loadMyColors guiload :mymaingui.gui guiquit #this
|
|
renez
New Member
Posts: 14
|
Post by renez on Dec 19, 2022 14:13:28 GMT
Hi Dimitris, Tested and works fine. Thanks for the help. Regards, René
|
|