Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this the way an Olecontrol is supposed to work?
Message
 
 
To
19/10/2003 21:27:01
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00840156
Message ID:
00840245
Views:
12
Hi Bill,

It looks like a bug to me. Still exists in VFP8SP1. To work around it, use expression in the properties sheet. For example, instead of '.F.', use '=.F.'.

>I'm using VFP 7.0.
>
>I created my own Olccontrol class:
>Baseclass = Olecontrol
>OleClass = Shell.Explorer.2
>OleLCID = 1033
>ParentClass = Olecontrol
>
>In the class and any sub-classes, whenever I add a property with an _Access() method, the value of the property gets changed to .T. when I save the class in the class designer.
>
>When I first create the property in the class designer, it allows me to change the value of the property, but the 2nd time I modify the class in the class designer, the value has been changed to .T. and it won't allow me to change it.
>
>TIA
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform