Hide user dialogs

<< Click to Display Table of Contents >>

Manual > Screen Creation Guide > Forms and Dialogs/Frames/Views > User Dialogs >

Hide user dialogs

Hide a user dialog without closing it

Normally, to close a dialog, you call the common method "CloseDialog".

 

On the other hand, depending on the user's needs, you may want to keep the dialog open and only change its visibility.

In such cases, use the route "ShowDialog" method.

 

By using the ShowDialog method, you can toggle the display of the dialog box without closing it.

 

 

 

hint

For example, when creating a search screen as a dialog, you may want to avoid the search conditions being reset every time the dialog is opened.

In such cases, instead of closing the dialog with CloseDialog, it is more effective to hide the dialog with ::ShowDialog("viewname","hide"). If you want to show the hidden dialog again, show it with ::ShowDialog("viewname","show").