If you add your code in the constructor outside of
//(*Initialize(BlaBla)
...
//*)
it shouldn't get deleted.
Or you could also add the call to SetWindowStyle in the "Extra code" property of the panel.
That goes for all "features" which aren't implemented, yet.
Regards
raph