Modal Dialog

40 views
Skip to first unread message

m.j.vand...@gmail.com

unread,
Aug 9, 2021, 2:09:37 PM8/9/21
to DroidScript
Hi,

I found that I can make a Dialog Modal bij using the "NoCancel" option. However, after dlg.Show() that thread seams to continue. 

All I am trying to do is make my own 'prompt' function such that I can add some extra functionality.

Any ideas?

Edited cocktail

unread,
Aug 9, 2021, 3:02:56 PM8/9/21
to DroidScript
You can't remade prompt, cause it's the only built-in function, that stops programm while running it, same as alert
So you can't remake it from code, only if you one of creators of javascript itself

понедельник, 9 августа 2021 г. в 23:09:37 UTC+5, m.j.vand...@gmail.com:

m.j.vand...@gmail.com

unread,
Aug 9, 2021, 3:07:18 PM8/9/21
to DroidScript
Ok, thanks for the quick reply! I wil work something out with a callback then.... 

Op maandag 9 augustus 2021 om 21:02:56 UTC+2 schreef Edited cocktail:
Reply all
Reply to author
Forward
0 new messages