Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning A value from a Class???
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00668213
Message ID:
00668681
Views:
24
Leroy

I would suggest releasing that form as soon as you retrieve the value. And what happens if this.parent.valid() fails?

>Thanks for all of the help. I finally got it.
>I had to start over but it only took about 10 minutes.
>This is the list of properties that I used
>
>In the button that calls it I have:
>
>PROCEDURE Click
>  oMyState = CREATEOBJECT('getstateform')
>  oMystate.show()
>  lcMyState = oMyState.thisState
   oMystate.release()
>  THIS.PARENT.RFI_TEXTBOX1.VALUE = ALLTRIM(lcMystate)
>  THIS.PARENT.VALUE = ALLTRIM( lcMystate)
>  THIS.PARENT.VALID()
>ENDPROC
>
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform