What I'm needing is an application modal window (not just a dialog... the windows are pretty complicated). These windows are non-resizable children of the main application window, and are created on an as-needed basis using the code:
- Code: Select all
(FrmPerson abtCreatePart: 'personnelForm' parent: self parentVisual owner: self) openApplicationModalWidget
that is called when an "Edit Person" button is pressed. This displays the window as a child of the main application window, and I really like the behavior of it (doesn't put a new window bar by the start menu, and the child is actually inside the parent - ie. it's clipped by the parent), the only problem is that even though the Edit Person window is always on top, it's still possible to click on the form in the background and have it respond to events.
I've also tried using openFullApplicationModalWidget, openSystemModalWidget, and the parameterized varients, and they all have this problem.
I'm developing under Vista right now, I don't know if this is an issue with any other OS.