Consultor Eletrônico



Kbase 15764: VIEW-AS DIALOG-BOX frame and ventilator on MSW decoration
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
VIEW-AS DIALOG-BOX frame and ventilator on MSW decoration


When a dialog-box is created using the UPDATE ... VIEW-AS DIALOG-BOX
syntax, the resulting frame does not respond when a user attempts
to close the dialog box by accessing the MS-Windows ventilator. (The
ventilator is the "-" on the frame decoration. Clicking on the "-"
results in a menu where one of the menu-items is "Close".)

The reason for this is that the dialog-box created by the UPDATE ...
VIEW-AS DIALOG-BOX syntax does not have the ability to handle a
"close" event from the windowing system. This can be best contrasted
with the dialog-box created in the UIB by default. This dialog-box
does include the type of event handling that will respond to a
window-close from the windowing system.

The dialog-box created with the UPDATE ... VIEW-AS DIALOG-BOX should
be conceived mainly as a structure that is more like the kind of
update seen in Version 6 PROGRESS. As such it is unable to
respond to windowing-system events.

For proper handling of a window-system "Close", programmers should
implement dialog-boxes created in the UIB rather than by the UPDATE ..
VIEW-AS DIALOG-BOX syntax.

Progress Software Technical Support Note # 15764