Page 1 of 1

Trying to get UIPanelWindow displaying

Posted: Sun May 02, 2021 11:32 am
by davidk64
Image

Anybody know why this doesn't work? Or can suggest a way to debug it. I've tried it in preview mode in SimDirector and loading from P3D but nothing appears. I stripped it down to the bare minimum as you can see but there are no errors reported in the "ObjectLoadErrors.txt" file in my user directory. I'm assuming P3D is using acceptable default values though I have also experimented.

A UIPanelWindow referencing an html file. Referenced by a OpenWindowAction in turn referenced by a TimerTrigger.

Re: Trying to get UIPanelWindow displaying

Posted: Sun May 02, 2021 11:00 pm
by davidk64
Experimenting with the Tic-Tac-Toe example led me to trying ScaleformPanelWindow instead of UIPanelWindow and it works. The doco says ScaleformPanelWindow is deprecated and it doesn't seem to be available as an option in SimDirector so a case of editing the object xml file. No problem for me since I'm creating this file from a DotNet winforms app anyway!