Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 6 Monaten
Letzter Beitrag:
vor 6 Monaten
Beteiligte Autoren:
Giovanni Carella, Paul Turner, Bart VDE

WD22 - Internal window in a looper

Startbeitrag von Giovanni Carella am 20.12.2017 18:21

Hi,
can i use an internal window control in a looper??

I want to set by programming the internal window for each row.

Thanks

Antworten:

Hi Giovanni,

I have once tried to use a simple control template in a looper. Even such a simple thing was not possible, so I wouldn't bet my money on it that an internal window should work.

For a looper, you need to work with attributes to address his members, so you should create an attribute for your internal window / control template and that is not possible as far as I know.

regards,
Bart

von Bart VDE - am 21.12.2017 09:07

SOLVED - WD22 - Internal window in a looper

Hi,
thanks for attention Bart.

I found a solution.

in WD22 have the ability to add a list of internal window in "Internal window Control" by IWListAdd() function. In the description of the "Internal window control", in the GUI tab, uncheck "Identical content for all the rows".

After that add the "Internal window control" in a looper.

Add the line in the looper, and in the "Display a row" of the looper change the Internal windows by ChangeSourceWindow() function.

von Giovanni Carella - am 21.12.2017 10:00
Internal Windows work in loopers just fine. In fact I use Internal Windows inside Internal Windows inside a looper,. Gone about 4 levels deep on Internal Windows inside Internal Windows which then end up in a looper.

No need to do it with code either, I used the standard Window editor.

Rgds
Paul

von Paul Turner - am 23.12.2017 21:50
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.