Problem showing modal forms...

Forum to discuss the Web client version of Servoy.

Problem showing modal forms...

Postby produzione » Mon Jul 23, 2012 4:29 pm

When i open a form with

_win = application.createWindow(_dialogName,_modal ? JSWindow.MODAL_DIALOG : JSWindow.DIALOG);
_win.show(_form)

the form is opened, but i can't see what is contained in it and the app seems to be frozen...

Only in webclient....

Servoy 6.1
You do not have the required permissions to view the files attached to this post.
produzione
 
Posts: 32
Joined: Fri Feb 03, 2012 6:05 pm

Re: Problem showing modal forms...

Postby omar » Thu Jul 26, 2012 2:22 pm

Maybe it works if you code it like this?

Code: Select all
if (_modal) {
   _win = application.createWindow(_dialogName, JSWindow.MODAL_DIALOG);
}else{
   _win = application.createWindow(_dialogName, JSWindow.DIALOG);
}
_win.show(_form)
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 8 guests

cron