Hi
The dialog seems not modal by default. How to set it up as modal?
thanks!
steven
Hi
The dialog seems not modal by default. How to set it up as modal?
thanks!
steven
It is modal by default. What makes you think otherwise?
the login Dialog can be covered by other windows while it is open.
Modal doesn’t mean “always on top”, it means modal. Modal dialogs can spawn other modal dialogs, and this is an important feature used by many applications.
If you are creating components while a modal dialog is showing and they are popping in front, you can call sendToBack() on them.
“If true, this Window is modal and intercepts all mouse clicks until it is dismissed. if false, clicks not in the Window itself can go to other page elements. Note only top-level windows can be modal”
This is the definition from your reference. It seems to me that other windows responds to the mouse clicks while Login is open.
We’ll update that description to discuss multiple modality. The behavior will not change - as previously discussed it is correct and it is critical that SmartClient behave exactly as it does in order to allow multiple modality - a feature used in the preferences dialogs of the very browser you are currently using ![]()
understand,
but the other window in my case is not modal. it is a normal ‘top-level’ window.
second:
how to change headerIcon in LoginDialog? is there a ‘headerIconProperties’ in loginDialog?
Yes, use the properties argument of showLoginDialog to pass headerIconProperties. You can also set it system-wide via isc.Window.addDefaults(“headerIconDefaults”, {… }).