Home » Community » Newbie corner » Switch control on the main window
Switch control on the main window [message #46235] |
Thu, 31 March 2016 11:25  |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
Hi there,
I have this switch control on the main window. There is a procedure that fills in the switch with some options, taking them from a database. The problem with this procedure is that it works fine if I launch it after the main window is executed i.e. after the MyApp().Run(); instruction in the GUI_APP_MAIN. If I run the procedure before the .Run(), it fails, without any message: the main window is launched, but the switch control is empty. I could try to trigger the execution of that procedure after the main window is running (e.g. with a button), but is there a more straightforward method to do that?
Thanks,
Gio
|
|
|
Goto Forum:
Current Time: Sun Apr 27 20:05:11 CEST 2025
Total time taken to generate the page: 0.00586 seconds
|