>Hi all.
>How I return parameter when I create form from VCX where is modal form. I use this command:
>l_Info = CREATEOBJECT("MSG_Question","Do You wann really exit ?")
>l_Info.show()
>I have "RetPar" property, where is stored return parameter. How I get this property after command l_Info.show() ?
>Thanks.
You can't return value in normal (DO FORM ... TO ...) way, but you can:
1. Sent calling form reference to the modal form when you start it
DO FORM modalform WITH thisform
2. And use this reference to reset some property of the calling form when modal form will be finished (e.g. from Form.Destroy event)
Edward Pikman
Independent Consultant