Cetin,
I think Martin wants to avoid global variables. Passing a return value in a global value seems to me a dangerous practice and anti-OOP.
>This is the hard way if ever could be done. To make it easy for a start create a var before calling and change it :
>
mRetVal = 0
>l_Info = CREATEOBJECT("MSG_Question","Do You wann really exit ?")
>l_Info.show()
>*in MSG_Question instead of form.retpar directly set mretval
David Moreau