Update a seperate Logging window
Posted: Fri Dec 12, 2025 11:16 am
I have a main window ( WNDW_main ) and i have a logging window with just and editorgadget ( WNDW_log ).
I have a lot of processing steps in WNDW_main so would like to update the editor gadget on WNDW_log accordingly.
The editor gadget on the log window is defined as a GLOBAL variable using #PB_any.
But try as i might when i want to update the editorgadget from WNDW_main i get 'gadget not initialised' and when i check the gadget id is returned as zero even though its defined as a global.
Also should WNDW_log have /not have an eventloop because I dont want it to have the focus at any time as its just a visual aid.
Any help is appreciated.
Captain S.
I have a lot of processing steps in WNDW_main so would like to update the editor gadget on WNDW_log accordingly.
The editor gadget on the log window is defined as a GLOBAL variable using #PB_any.
But try as i might when i want to update the editorgadget from WNDW_main i get 'gadget not initialised' and when i check the gadget id is returned as zero even though its defined as a global.
Also should WNDW_log have /not have an eventloop because I dont want it to have the focus at any time as its just a visual aid.
Any help is appreciated.
Captain S.