![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
04-21-10, 09:58 AM
|
#3 |
|
Black Magic
![]() |
try this for debugging purposes:
def AOBFToggle( sender ): global AOBFswitch AOBFswitch = not AOBFswitch # show the state of the switch for debugging purposes ScriptManagerManaged.ShowPythonError( "AOBFswitch=" + str(AOBFswitch) ) Pageattackperiscope_RAOBF.Visible = AOBFswitch this will show a dialogbox saying AOBFswitch= either true or false so you can see if the switch is really toggling or not. |
|
|
|
|
