Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / May 2006

Tip: Looking for answers? Try searching our database.

Changing visually inherited objects in descendent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce HS - 04 May 2006 15:36 GMT
VS2005, VB.

I put some buttons in winform A.  I then create form B which inherits A.  I
want to move the buttons to a different location in form B, but find all
properties of the button in the descendant set to readonly.

Is there a way I can adjuste these properties in the descendant?  This would
make the visual inheritance much more useful.
alantolan@users.com - 04 May 2006 17:02 GMT
change the access level of the controls in the base form from Friend to
Protected (or protected friend)

hth,
Alan.
Bruce HS - 04 May 2006 17:32 GMT
Thank you!

> change the access level of the controls in the base form from Friend to
> Protected (or protected friend)
>
> hth,
> Alan.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.