on_f11 = toggle(panDisplay2,VISIBLE); just crashes ...


change it to

on_f11 = toggle;

then it wont crash.


My Specialities Limited.