-
Oct 30th, 2010, 02:12 PM
#1
Thread Starter
Member
[RESOLVED] Moving controls into a tab control w/o loosing handlers & code
How do I do this? If I cut and paste, then it wipes the code, sometimes the stuff doesn't even show up when I run the program (I guess it's loosing all the handler information) I read about not cutting / pasting controls in the sticky at the top. So how do I do it?
-Noob
-
Oct 30th, 2010, 06:34 PM
#2
Re: Moving controls into a tab control w/o loosing handlers & code
You drag and drop. You can do it either on the form itself or, if that's difficult, in the Document Outline window.
-
Nov 1st, 2010, 05:51 PM
#3
Thread Starter
Member
Re: Moving controls into a tab control w/o loosing handlers & code
Oh wow, I come from VB6 world, that wouldn't have worked, it would have just been on top of all tabbed pages(which now makes me wonder how I might do that, not thtat I think I have a need for it.)
Well now I have a new TabControl question, I will start in a new thread.
-
Nov 1st, 2010, 06:00 PM
#4
Re: Moving controls into a tab control w/o loosing handlers & code
Originally Posted by intellilogic
which now makes me wonder how I might do that
You'd make the form the parent by dragging the control onto the form surface in the designer or using the Document Outline window, then you would set the Location property manually in the Properties window. You can also move a selected control pixel by pixel using the arrow keys.
-
Nov 1st, 2010, 06:56 PM
#5
Addicted Member
Re: Moving controls into a tab control w/o loosing handlers & code
Originally Posted by jmcilhinney
...You can also move a selected control pixel by pixel using the arrow keys.
You're the man, thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|