Hi!
Thanks for this. I was able to reproduce it even without additional subclassing. Just drop txtClass1 onthe form and run it. Cursor does not works.
Can I send this bug-report to MS?
BTW, there is a new cursor available in the MousePointer: 15 - hand. You now not need to use external mouse cursor file just to have browser's "hand" cursor :-))
>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.