Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass datepicker to textbox
Message
From
06/12/2004 04:50:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/12/2004 10:14:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00966969
Message ID:
00967068
Views:
8
>Hello,
>
>In my Thisform change procedure of OLECONTROL1, I put this codes in but
>always give an error " Property value is not found "
>I can pick the date calendar from Active X control olecontrol1 but never pass to my thisform.Text1.value .
>
>
>local idDate
>idDate = ttod(thisform.olecontrol1.Value)
>store idDate to thisform.Text1.Value
>
>
>Please advise me or correct my codes.
>TIA

Paul,
Both VFP and datetimepicker activex have 'VALUE' as a property name and that causes the error. Use OBJECT to signify you mean ActiveX's value:

thisform.Text1.Value = thisform.olecontrol1.object.Value

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform