Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in inheritance of MousePointer
Message
From
13/11/2002 00:52:57
Peter Easson
Catalina Trading
Sydney, Australia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Bug in inheritance of MousePointer
Miscellaneous
Thread ID:
00721983
Message ID:
00721983
Views:
45
Hi,
It's probably been reported before, but anyway.... :-)

Do the following.
Create a subclass TextBox and save it as txtClass1 (or something). Change the MousePointer property to 99 (Custom) and the MouseIcon property to a valid cursor file name (I wanted a hand). Save the class.

Drop the class on a form and save it again as a further subclass (say txtClass2).

Drop both classes onto a form. Check that both have the same MouseIcon & MousePointer properties. The hand will work over txtClass1, but not over txtClass2 when you run the form.

If you re-open the form and manually change txtClass2 properties and change them back to the original values (ie they are now properties in bold), save this and rerun the form, the hand works over both boxes.

IE The inheritance is not working correctly. (I think :-})

Pete
Next
Reply
Map
View

Click here to load this message in the networking platform