modal behaviour in a non-modal world

Author: ulrichmerkel@web.de (ulrich-merkel)

 

Comment Icon ulrich-merkel Edit Comment Delete Comment
  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.
Comment Icon ulrich-merkel Edit Comment Delete Comment
  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. 3 star(s) of excellence 

Collapse Section Database Fields

Short Description

Running nonmodal/attached forms from modal forms

Description

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!)

Example:
A,B,C,D,E modal forms
B1, B2, E1,E2 nonmodal

Activation schema of visible instances:

A->B->B1
____->B2
B,B1,B2 can get focus

A->B->B1
____->B2->C
Only C has focus,C is modal

->B->B1
____->B2->C->D->E->E1
_________________->E2
E,E1,E2 can get focus 

Importance

Tab widget can be used in inner parts of modal tree.Important for older applications. In current state use of Tab widget is strongly limited.

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.