Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return values from a form object?
Message
From
22/06/2002 19:51:46
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00671287
Message ID:
00671430
Views:
11
Thanks for you answer, but unfortunately I don't how to apply it.
First, where should your put your code?
What I'm trying to do is this: in the dobleclick event of a textbox
I create a form object that has a calendar object in it. Once the
user picks a date he hit the 'ok' buttton to create a date From the calendar
properties, then I return this value to the textbox in order to establish
the new value for the control
Thanks again





>>Hi
>>I got this code:
>>
>>THIS.oCalendar=CREATEOBJECT("frcalendar.frcalendar")
>>THIS.oCalendar.SHOW
>>
>>Once this.oCalendar is released, how can I return a value
>>from the unload event to a variable or propertie of the
>>object that created this.ocalendar or what I'm trying to achieve
>>is only possible with DO FORM?
>>
>>
>>Thanks in advance
>
>this.MyRetVal = this.oCalendar.value
>this.oCalendar.release()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform