I'm trying to make a virtual keyboard that springs up from the bottom of the screen, then collapses back off-screen when dismissed. In the IDE and on other platforms (macOS) there's nothing tricky to it, but it's giving me trouble on RPi/Linux.
I'm trying to create a new instance of a Window, which needs to instantiate at .Top = 480, and .Left = 0 (this puts it off-screen initially). However, the Window doesn't accept the .Top or .Left settings unless it's visible. I've tried setting .Top/.Left from within the Window's Open Event, and if I read back the value it shows that it accepted the new .Top/.Left assignment, but the window hasn't moved to the new coordinates.
The window is a type 'Plain Box', and I'm calling it's .Show() method. If I do this and instantly follow up by setting the .Top value the window does move as expected - but this makes an ugly "flash" for a split second while the window is initially drawn on screen, before snapping to it's correct coordinates.
Is there a trick to instantiating a new window, off-screen, without first having it drawn on-screen?