- SC.say() does not have argument "Dialog dialogProperties"
- if you call SC.say() first time, it's without ModalMask
- if you call a dialog with ModalMask, then behaviour of next SC.say() will change.
Solution:
- the best would be to add argument "Dialog dialogProperties" to SC.say()
Sample code:
- if you call SC.say() first time, it's without ModalMask
- if you call a dialog with ModalMask, then behaviour of next SC.say() will change.
Solution:
- the best would be to add argument "Dialog dialogProperties" to SC.say()
Sample code:
Code:
SC.say("SAY dialog", "SAY dialog - first call (no ModalMask)",
new BooleanCallback()
{
@Override
public void execute(Boolean aValue)
{
Dialog dlgProperties = new Dialog();
dlgProperties.setShowModalMask(Boolean.TRUE);
SC.warn("Any dialog with ModalMask",
"After this dialog, ModalMask in SAY dialog will be present",
new BooleanCallback()
{
@Override
public void execute(Boolean aValue)
{
SC.say("SAY dialog", "SAY dialog - same call, but ModalMask alredy present");
}
},
dlgProperties);
}
});