I'm running into the same problem in another script. In A, I have
statusbarwidths.1 = 100
statusbarwidths.2 = -1
guiaddctltext('status_bar', 2, 'statusbarwidths')
and in B, I have
PROCEDURE EXPOSE sw_array guiwindow status_bar_handle
.
.
.
DO
status_bar = 'Analyzing line 'curr' of 'sourcecode.0
guisetctlvalue(status_bar_handle, 1)
CATCH SYNTAX
NOP
END
but I never see anything. Note that if I add the code to A
status_bar_handle = get_handle('status_bar')
status_bar = 'Hello'
guisetctlvalue(status_bar_handle,1)
then I never see anything. If I change the code to
status_bar_handle = get_handle('status_bar')
status_bar = 'Hello'
guisetctlvalue('status_bar',1)
then I see Hello as expected. |