|
-
Feb 10th, 2012, 12:39 PM
#1
Thread Starter
Member
Copy & Paste with large frames
I'm working on a project that uses a frame that is very long (heightwise) and uses almost 300 controls. My problem is that when pasting multiple controls they are placed at the top left corner of the frame and it is extremely frustrating to have to drag each individual control down the frame because you lose focus every time you move the frame. It's probably hard to understand the problem unless you've had to do it... heh heh.
So i'm wondering if anyone has a workaround or a way of changing the default position of where pastes are placed?
-
Feb 10th, 2012, 12:48 PM
#2
Frenzied Member
Re: Copy & Paste with large frames
why are you pasting the controls onto the form?
here to help
-
Feb 10th, 2012, 01:25 PM
#3
Thread Starter
Member
Re: Copy & Paste with large frames
It's an array of 66 images with associated labels etc. 6 across and 11 down. And the the frame is much larger than the form. I think it would be a toss up between pasting & dragging method and drawing each control individually.
-
Feb 10th, 2012, 02:06 PM
#4
Frenzied Member
Re: Copy & Paste with large frames
you should be able to know the position of the controls and even workout the relative values of top and left for eacdh control and therefore place each control programatically
if you store the values in an ini type structure you can even move controls so that they make sense at different resolutions.
this is a common enough activity
here to help
-
Feb 10th, 2012, 04:51 PM
#5
Re: Copy & Paste with large frames
Or just paste away, then save and go edit the Form by hand with Notepad to change the positions. If you need this a lot maybe write a program to process a .FRM file to space 'em out vertically.
-
Feb 11th, 2012, 01:20 AM
#6
Thread Starter
Member
Re: Copy & Paste with large frames
 Originally Posted by dilettante
Or just paste away, then save and go edit the Form by hand with Notepad to change the positions. If you need this a lot maybe write a program to process a .FRM file to space 'em out vertically. 
Wow... i didn't know you could do that with notepad. I think that will help, thanks.
-
Feb 11th, 2012, 09:40 AM
#7
Frenzied Member
Re: Copy & Paste with large frames
if you did not know that do you know this
if you make a new shortcut to notepad and place that in the folder where your frms are you simply drag the form to it to edit!
here to help
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
|