|
|||
|
Is there a way to work with more than one form at the same time?
When I use the following code, the second form is created after the first form is closed Code:
var Opdrachtform = new Form; Opdrachtform.movie = getMovies()[1]; Opdrachtform.showCaption = true; Opdrachtform.initVars = "count="+count; Opdrachtform.canDrag = true; Opdrachtform.caption = "Opdrachten"; Opdrachtform.show(); var Overzichtform = new Form; Overzichtform.movie = getMovies()[3]; Overzichtform.showCaption = true; Overzichtform.initVars = "count="+count; Overzichtform.canDrag = true; Overzichtform.caption = "Overzicht"; Overzichtform.show(); |
|
|||
|
The "show" method of a modal form won't return until it is closed. You can change the code to
Code:
var Opdrachtform = new Form; Opdrachtform.movie = getMovies()[1]; Opdrachtform.showCaption = true; Opdrachtform.initVars = "count="+count; Opdrachtform.canDrag = true; Opdrachtform.caption = "Opdrachten"; Opdrachtform.show(false); var Overzichtform = new Form; Overzichtform.movie = getMovies()[3]; Overzichtform.showCaption = true; Overzichtform.initVars = "count="+count; Overzichtform.canDrag = true; Overzichtform.caption = "Overzicht"; Overzichtform.show(false); |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|