Cut and Paste Controls between forms

Started by Jim Short, March 24, 2009, 07:00:51 PM

Previous topic - Next topic

Jim Short

Jim Short

owenwengerd

The only restrictions I can think of offhand would be that you can't paste a tab control onto a form that already has one, and you can only paste file dialog controls onto a custom file dialog form. At least, those should be restricted.
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

With that in mind, here is my experience:

Cut text button from control bar.
Paste text button on a tab strip tab that resides on same control bar.
Text button appears in the Z/tab Order list but is no where to be seen on the tab.

Jim
Jim Short

owenwengerd

After you paste, check the width, height, left, and right properties to see what they are.  If the control's position properties are set to be relative with the edges of the form, and you paste it onto a smaller form, strange things could happen.
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

Thanks Owen, that is probably what happened. I did not consider right from right affects.
I will look into it when it happens again.
Cheers,
Jim :)
Jim Short