My quest continues...slowly and painfully!
I am trying to use an XUI dialog to show the status of an attempt to contact to an Access Point on an ESP8266, and to then show the status as the EEPROM is programmed and the ESP is brought back to life connected to the local wifi.
I use resumable subs to do the connection to the Access Point and to program the ESP EEPROM and various other bits and pieces.
The problem is that I don't know how to update stuff on the XUI dialog in any way except by using a timer because if I run other subs that contain resumable subs, they can't access the views on the XUI dialog because those views aren't available until the WAIT FOR (RS) complete (Return as Int) type call is made, at which point the code seems to block waiting for the resumable sub dialog to complete.
I am clearly not getting the hang of the way that all this works, but I can't see a way to update the views on an XUI dialog in any other way than a timer.
I suppose I could use a timer to start the other resumable sub and that might work but it seems very... clumsy.
Sorry for the poor explanation. I've been at this for days and would appreciate a hint as to a way forward.
JMB
I am trying to use an XUI dialog to show the status of an attempt to contact to an Access Point on an ESP8266, and to then show the status as the EEPROM is programmed and the ESP is brought back to life connected to the local wifi.
I use resumable subs to do the connection to the Access Point and to program the ESP EEPROM and various other bits and pieces.
The problem is that I don't know how to update stuff on the XUI dialog in any way except by using a timer because if I run other subs that contain resumable subs, they can't access the views on the XUI dialog because those views aren't available until the WAIT FOR (RS) complete (Return as Int) type call is made, at which point the code seems to block waiting for the resumable sub dialog to complete.
I am clearly not getting the hang of the way that all this works, but I can't see a way to update the views on an XUI dialog in any other way than a timer.
I suppose I could use a timer to start the other resumable sub and that might work but it seems very... clumsy.
Sorry for the poor explanation. I've been at this for days and would appreciate a hint as to a way forward.
JMB