Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 19th, 2006, 12:41 PM
Registered User
 
Join Date: May 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Please...inherited controls are locked

Hi,

Can someone help me? My controls derived from an inherited form are marked with a padlock. Thus, I cant modidy any code or property !

Thanks !!!

 
Old May 21st, 2006, 03:41 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Can you please not post the same question 10 times in different forums? That makes it pretty hard for others to track a thread.

Anyway, I think this is by design. Your Parent form determines the look and feel of the controls. So, if you want to change some of the parent controls, change them on the parent form instead. Child controls (that is, controls placed on a child form directly) should be fully editable.

A Google search like this brings up interesting articles, like this one on the MSDN site.

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004





Similar Threads
Thread Thread Starter Forum Replies Last Post
Please...inherited controls locked ??? leorochab C# 0 May 19th, 2006 12:36 PM
inherited controls marked with padlock leorochab C# 0 May 16th, 2006 12:41 PM
inherited form controls marked with padloc leorochab C# 2005 0 May 15th, 2006 01:00 PM
Inherited Controls locked (padlock) leorochab C# 0 May 14th, 2006 09:09 AM
Inherited Shadowing DoorHandle Pro VB.NET 2002/2003 1 September 7th, 2004 11:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.