Check if substack is already loaded
Posted: Thu Apr 16, 2015 3:14 am
Hi,
I want to be able to check to see if a substack has already been loaded on screen so I don't reinitialise the objects. I want code something like that below from my main stack:
-- need code here to figure out if stkStack2 is already showing to the user
if bVisible then
go stack stkStack2
else
put "test" into fld fldTest of stack stkStack2
go stack stkStack2
end if
I have tried looking at the visible property of the stack stkStack2, but that is always true, whether it has been loaded on the screen or not
Any suggestions appreciated
Cheers
bergsy
I want to be able to check to see if a substack has already been loaded on screen so I don't reinitialise the objects. I want code something like that below from my main stack:
-- need code here to figure out if stkStack2 is already showing to the user
if bVisible then
go stack stkStack2
else
put "test" into fld fldTest of stack stkStack2
go stack stkStack2
end if
I have tried looking at the visible property of the stack stkStack2, but that is always true, whether it has been loaded on the screen or not
Any suggestions appreciated
Cheers
bergsy