Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 3 Wochen, 5 Tagen
Letzter Beitrag:
vor 3 Wochen, 5 Tagen
Beteiligte Autoren:
John Fligg, Fabrice Harari

Silly question - opening windows

Startbeitrag von John Fligg am 30.01.2018 11:04

This is a really basic question - apologies!

Using WD or WM I want to open Windows A and B. However I want window A to wait until completed and then launch window B.

The problem is Window B would be unknown and require parameters. So what I am implying by that is that it is no good putting any code under the Window A close button.

I'm sure I recall being able to open 2 windows after each other but not running the 2nd line of code until the Window A has been closed.

Thx

Antworten:

Hi John

there are several ways to solve that problem (if I understood it correctly)

In Windev, where modal windows are available, you just need to do:
open(windowa)
open(windowb)

WindowA begin modal, the second line is executed after its closing only.

However, there are no MODAL windows in mobile. So in that case, you would need to do
OpenMobileWindow(windowA)

and then in the "closing of secondary window area" (sorry, don't remember the exact name), do the OpenMobileWindowB

Best regards

von Fabrice Harari - am 30.01.2018 11:31
Thx Fabrice. Yes Modal, that's what I was thinking. Plus the WhenClosingChildWindow embed point open Window B.

Told you it was silly

Thx

John

von John Fligg - am 30.01.2018 11:42
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.