Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form error - Data type is invalid for this property
Message
From
03/05/2003 01:54:08
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00783174
Message ID:
00784508
Views:
10
>>Hi All and VFP dev team specifically,
>>
>>There is a behaviour change in VFP8 from previous versions in respect of the "Data type is invalid for this property" error message that appears if a controls caption cannot be evaluated at design time. e.g. If a control has a caption which is set to the value of a variable which is only instantiated at runtime then the IDE give this error when opening the form for editing. If the form has several such controls then one must click OK for each occurrence.
>>
>>I know this issue has been raised before and that the offered solution is to put the caption setup into the controls init event. However my questions are:
>>
>>a) Why was this change made to the form editing process?

>
>I think it was done to accommodate expressions in Field Captions that was added in VFP8.
>
>
>>b) Will this be set back to the way it worked in previous versions of VFP?



Hi --sb--. Captions have supported expressions for a long time. I have used .Caption=cVariable snce VFP3 I think. Or have I misunderstood and you are referring to something else ?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform