Thanks, Sergey. I guess the answer, strictly speaking, is "No" a form can't return a value - however it can "change" a value of a pre-existing variable (as in the first two examples) and it can "expose" its properties so that when the modal state is "relaxed" by issuing Hide(), I can retrieve the value, as in the third example.
thank you for pointing me in the right direction.
Alan
>>I need to return a value from a form object. The form is a class in Library and is instantiated via CreateObject or NewObject. I use the Show(1) method to activate the form and make it modal. Is there a way to return a value from the form when it is released? Or, MUST the form be an .SCX and instantiated via DO FORM ... TO ... ?
>>
>>Thank You,
>>Alan
>
>There're many ways to do that. See Message #
549714 for two of them. Here's another one Message #
530111.