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 / Windows Forms / Design Time / September 2004

Tip: Looking for answers? Try searching our database.

Removing a component in design view

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AlexG - 11 Sep 2004 09:35 GMT
VS Pro 2003 C++.  I have made a Win Form project with several
buttons and a GroupBox for radio buttons.  I would now like
to remove the Group Box and all its code from form1.h
I can make the box disappear by setting the visible
property to 'false', but how do I remove the code for it ?

Thanks
Signature

AlexG - Math via C++

lukasz - 11 Sep 2004 17:01 GMT
In C# you can just select it and press DEL. It should work for C++ too.

> VS Pro 2003 C++.  I have made a Win Form project with several
> buttons and a GroupBox for radio buttons.  I would now like
[quoted text clipped - 3 lines]
>
> Thanks
AlexG - 12 Sep 2004 15:59 GMT
Thanks, lukasz, I looked for 'del' under Menu Edit but this
was greyed out, perhaps because I had already entered
some code into the radio button event handlers.

But the DEL key itself sounds promising, I'l try that.

Thanks

> In C# you can just select it and press DEL. It should work for C++ too.
>
[quoted text clipped - 5 lines]
> >
> > Thanks
AlexG - 13 Sep 2004 17:01 GMT
Solved !

I clicked on the Group Box and found that Menu->Edit->del
was greyed out.  Of course it would be as it had two sub-components
on it - the radio buttons.  When I clicked a radio button Edit-del
worked fine.  Remove the buttons in the Group box and Edit-del
let me delect the box.  Removed all the 'this->' code too.
I just wish Microsoft had entries for 'Removing'  'Deleting'
'Erasing' in its search engine and indexes.

Thanks

> Thanks, lukasz, I looked for 'del' under Menu Edit but this
> was greyed out, perhaps because I had already entered
[quoted text clipped - 13 lines]
> > >
> > > Thanks

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.