Welcome! Log In Create A New Profile

Advanced

WB12 - Nested PageDisplayDialog

Posted by Peter H. 
Peter H.
WB12 - Nested PageDisplayDialog
April 17, 2008 11:23PM
Hi,

Does anyone know if it is possible to use nested PageDisplayDialog calls in WB12? This allows to get some sort of modal WinDev alike application flow (cfr. open() in WD). It works perfectly, but when calling a PageDisplayDialog (PageAfficheDialogue) from a page that already has been opened with PageDisplayDialog I get a W-Language runtime exception.

Thanks in advance for any clues!

Cheers,

Peter Holemans
KenKnight
Re: WB12 - Nested PageDisplayDialog
April 18, 2008 12:50AM
Hi,

To get a modal like appearance, use a cell with a static that can be overlayed. Then in javascript when a person clicks link / button to cause a "child" like window for data entry to open, adjust the size and location of the cell and static control to completely cover the entire browser page and then turn on the visibility to it and another cell that holds the fields to enter.

To see this in action, check out schedule sample that ships with WebDev.

Cheers!
Ken
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: