General information
Category:
Forms & Form designer
Nancy,
Thanks for the help. Everything is working great now.
Jane
>No the RETURN thisform.value has to go in the called form's Unload() method.
>
>If your form is modal AND your modal form has a RETURN thisform.value in the Unload() method, then it will return. Is there any chance the return value is empty and so therefore it *looks* like nothing is getting passed back?
>
>In the Unload(), right before the RETURN, try putting a SET STEP ON. You'll get the debugger up, and you can check the return value, and you'll make sure that it is hitting the line you think it is hitting.
>
>This is an SCX that you are doing, right? The technique you'd want to use if it's a form class is a bit different.
>
>>In my called form, I want the user to type in a password. If the password is correct, I'd like the form to be closed. I tried to do this by putting code in the click method of the text box (RETURN THISFORM.value and THISFORM.RELEASE())but it doesn't do anything. I then added an OK command button with the same code. The form does close but the value is not passed back. Please help.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only