Click to See Complete Forum and Search --> : *resolved* removing a property from an inherited class?
MrPolite
Oct 25th, 2002, 03:51 PM
My class inherits from PictureBox. Is it possible to remove a property of the PictureBox class from my class? for example I dont want my class to have a .Location property.
DevGrp
Oct 25th, 2002, 08:29 PM
I dont think so. Why do you want to remove it??
Vahid
Oct 25th, 2002, 08:46 PM
Hi,
You can remove it from the property browser by Browsable attribute, but you can't remove it form the class itself.
You can always hard code any class to remove any property of-course. Like the way in VB6.
Vahid
Oct 25th, 2002, 08:52 PM
Sorry about the stupid post, I first post this, then see the ***RESOLVED*** thread, Not enough talent! :confused: :confused: :confused:
MrPolite
Oct 25th, 2002, 09:22 PM
Originally posted by Vahid
Sorry about the stupid post, I first post this, then see the ***RESOLVED*** thread, Not enough talent! :confused: :confused: :confused: naah, it wasnt stupid, hehe :) :)
Thanks... at least I know that I cant remove it, I wont look for it anymore :D
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.