View Single Post
 
Old 05-30-2014, 02:19 PM
Cosmo Cosmo is offline Windows Vista Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default Change parent for control from frame to userForm?

I have a userform with multiple frames organizing many controls. I am having some issues with the controls being in the frame - it seems that the 'Exit' event doesn't fire properly when tabbing if the next control is in a different frame. Also, I would like to expand several textboxes when the field receives focus to give the user more area to view/edit their text, but the expanded textbox is clipped by the area of it's parent frame.

Is there a way to remove the control from the frame itself, and then set it back when finished? The 'Parent' property is read-only, and setting the ZOrder only moves it within it's current parent.
Reply With Quote