modal behaviour in a non-modal world
Author: email@example.com (ulrich-merkel)
|Nov 10, 2011 9:19 AM|
|Perhaps we can rephrase the wish to: make a non-modal form APPEAR like a modal one; allow only activation of the form and its children. Think a lot of tab-widget users will backup this wish.|
|Nov 10, 2011 8:02 AM|
|Hi voitech, unfortunately, this violates the MS Windows rules for modal forms. One way to get similar result: make even your starting form non-modal and start another uniface process with a synchronous spawn. This will block the "other" forms and give you a new non-modal environment for your subtree. I know it may eat up licenses, processes, ... ****** P.S. I am not employed by CPWR, so you may want to discuss matters with your "local CPWR contact person"|
Based on a wish from voitja:
Uniface Wish Details:
Running nonmodal/attached forms from modal forms Modal form can in restricted mode run nonmodal forms. Only the last modal form or its nonmodal childs can get focus Tab widget.
Use case (please read what is requested here!)
A,B,C,D,E modal forms
B1, B2, E1,E2 nonmodal
Activation schema of visible instances:
B,B1,B2 can get focus
Only C has focus,C is modal
E,E1,E2 can get focus
Applications can use nonmodal behavior in inner parts of its modal form tree.
Selecting components, which needs to be modal, can include nonmodal components, for example Tabs
This page has no comments.