Sounds way too sensible....
Hehe.
I get around this by always embedding my COntainer Controls
programatically.
I put a blank canvas where I want them at design time, and then do
Panel.EmbedWithin(Window,
Window.Canvas.top,Window.Canvas.Left,Window.Canvas.Width,Window.Canvas.H
eight)
Lock them is another thing altogether.
- Tom
On 04/02/2007, at 11:22 AM, Chris Halford wrote:
Why is that when i embed a ContainerControl in a window, its
contained controls left and top are relative to the window and not
the containerControl?
If I drag the ContainerControl in the window from the IDE, the
contained controls left and top are relative to the containerControl.
If i have the bad fortune of locking the right or the top of the
containerControl, the effects are even worse, the contained
controls left and top stay relative to... just wait for it, THE
ORIGINAL POSITION of the ContainerControl. Do I sound frustrated?
Can anyone help out there. Im thinking i'd like for
ContainerControls and there contained controls to act normally.
Their left and top should ALWAYS be relative to their parent window
( Window or ContainerControl).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>