VB .net help

fez

fez

Caporegime
Joined
22 Aug 2008
Posts
28,010
Location
Tunbridge Wells
Right,

Quick question for all you VB or C# buffs out there.

I have a panel with a load of controls on and I wish to stop the controls on that panel from being edited. Can I put a transparent panel over the top and add or remove that to stop edits or allow.

Thanks
 
Cheers guys but I dont like the fact that enabled = false greys out the control and its contents. I have used looping over the controls in the panel to set them all to disabled before but I was wondering if there was another way.

Sorry, forgot to say in the original post that I knew how to loop over and disable them but was after a more aesthetic solution.
 
This is for a custom piece of software with a design that runs throughout where users must click an edit button that is always in the same location in the menu to be able to edit anything in that screen. That should hopefully avoid the issue with users thinking its broken when they click.

Its a property letting piece of software that about 200 people use who are all trained in it as well.

Cheers for all the replies guys, will try the readonly suggestion.
 
Back
Top Bottom