PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB20] How to retrieve returned value
[WB20] How to retrieve returned value
Iniciado por guest, 14,oct. 2015 06:27 - 2 respuestas
Publicado el 14,octubre 2015 - 06:27
Hi all -

Having a hard time getting the returned value - if you click the "cancel" button on the dialog page, it's set up as follows in the code: PageCloseDialog(False)

Can't seem to figure out how to get the "false" returned value - las tthing I tried was this:

PageDisplayDialog(PAGE_Selection_Center_Dialog)

IF PAGE_Selection_Center_Dialog..ReturnedValue = "False" THEN
POPUP_Notify.STA_Notify = "Add Students to Events Cancelled..."
ToastDisplayPopup(POPUP_Notify,toastShort,vaMiddle,haCenter)
RETURN
END

But it comes up with an error - what's the right code for this?
Publicado el 14,octubre 2015 - 08:09
Hi Joel,

if PagedisplayDialog(xxx)=True then ... else .... end
or even:
if PagedisplayDialog(xxx) then ... else ... end

Regards,
Piet
Publicado el 14,octubre 2015 - 15:00
Thanks Piet!