PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD19: Unfortunate behaviour with Supercontrols, or "Trap for inexperienced players"
WD19: Unfortunate behaviour with Supercontrols, or "Trap for inexperienced players"
Iniciado por guest, 04,abr. 2016 06:48 - No hay respuesta
Publicado el 04,abril 2016 - 06:48
G'day all,
I have a supercontrol that contains some EDT controls.
If I set the SuperControl as not visible this does not affect the visible property of the contained EDT controls.
In my code I was checking if the EDT control was visible, if true then SetFocus(EDT_control).
This causes the application to be non responsive with no error displayed.

I have no idea if this still happens in V20
Just thought people might be interested.
I fixed the code which was there from before the EDT was in the Supercontrol....
Cheers,
SteveH.