panels and frames

04-22-2006, 06:08 PM
I think something is getting lost in the translation for me in going from vb6 to 2005. I put a panel or a frame on the form, then I draw some controls onto it. then if I move the panel, the controls that were on it don't move with it. its like they are on top of the panel or frame, but not "in" it. the real problem is when I am building an options dialog box. I have a split container on the form. one side has navigation buttons on it, the other side has a series of frames one on top of the other. when the user selects a certain part of the options window to view, I'm trying to use the .movetofront method on the proper frame. it moves the frame forward with no complaints, but none of the controls on it come with it. obviously I'm doing something horribly wrong. help please!

04-24-2006, 02:45 AM

well, try selecting (by left click) the panel before you add controls to it. Or you might want to select the controls to move into the panel, then click Copy, select the panel and click Paste.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum