Information générale
Titre:
Bug in inheritance of MousePointer
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement