PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Referencing a procedure in a dynamic tab control
[WD20] Referencing a procedure in a dynamic tab control
Iniciado por guest, 18,mar. 2016 11:40 - 1 respuesta
Publicado el 18,marzo 2016 - 11:40
Hi,

I have a dynamic tab control. My Internal window has some procedures which must be called from a child window (most refresh things)

How can I call a procedure like

Win_main.tab_main[tab_main..alias].my_procedure() ?? (doesn´t work so)
Miembro registrado
71 mensajes
Publicado el 23,junio 2016 - 07:26
Hi Michael,
I used to work with dynamic tabs a lot last couple of weeks and this was something I had to solve as well.

I use this syntax.

oInternalWin is Control
oInternalWin <- TAB_Verze[sActivePaneAlias]
oInternalWin.iw_Construction_Verze.Save_IW_Controls(sActivePaneAlias)


sActivePaneAlias is name of active pane of your tab control
iw_Construction_Verze is name of internal window that is inside your pane
Save_IW_Controls is name of procedure saved under iw_Construction_Verze

I think you could try to solve it also with indirection but I use this solution.

Petr