Updated LitDev extension Beta (1.2.28.0) to better manage TW hide and show. There are a couple issues:
1] TextWindow.Read for example will show the TextWindow if currently hidden
2] TextWindow object keeps track of the current state and this is not updated if the user minimises window for example
This is why minimising TW with Cute Chess works - it is minimised but SB thinks it is shown.
Try using:
or
The new property UpdateShowHide (default True) will also update the internal variable, which in this case you don't want since we want TextWindow.Read to think the window is currently shown when in fact it is hidden or minimised. Its all a bit hacky, but we are working within the original SB code.
1] TextWindow.Read for example will show the TextWindow if currently hidden
2] TextWindow object keeps track of the current state and this is not updated if the user minimises window for example
This is why minimising TW with Cute Chess works - it is minimised but SB thinks it is shown.
Try using:
Code:
LDTextWindow.UpdateShowHide = "False"
LDTextWindow.Minimise()
or
PHP Code:
LDTextWindow.UpdateShowHide = "False"
LDTextWindow.Hide()
The new property UpdateShowHide (default True) will also update the internal variable, which in this case you don't want since we want TextWindow.Read to think the window is currently shown when in fact it is hidden or minimised. Its all a bit hacky, but we are working within the original SB code.