Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:49 pm
by Andrew >> Thu, 26 May 2005 4:59:48 GMT
Hi Torrie,
You actually know more about the current GUI design than you may have realised, I'm re-working Concord which was originally put together in a similar way to the CMS.
How are you going anyway? Still way over the other side of the world?
Your idea is pretty close to what I'm looking at at the moment. I have removed all the manual skinning, and added borders and title bars to all our dialog forms. If you remember we have an SDI MainMenu that consumes the whole desktop area and can't be moved or resized, the Stack Parent is the same, and the child forms sit in the middle of the stack parent. No form's could be moved or resized.
I want to make the MainMenu the common backdrop to all Concord Stacks, ultimately as an MDI frame so that Stacks (mdi children) can be shifted off screen and scrolled to if need be. Also so the app has only one button on the taskbar. I'm planning on making the Stack form a controlling form that is always obscured by its children, and therefore want the child forms to have borders and a title bar. The child forms would be attached to the Stack through setFormParent. I would then use the formMove event to ensure the stack moves around with the child.
Here are the 3 problems:
1. The child form is painted over top of the MDI Frame scroll bars. Also if the MDI Frame is not full screen, the child forms can be dragged right outside the frame (I'm sure I could stop this though).
2. The Stack re-positioning code I have in the formMove event of the child form produces odd left and top positions???
child.windowToScreen(x, y);
stack.screenToWindow (x, y);
stack.move (x, y, stack.width, stack.height);
3. I need a way of re-positioning the child form if the MDI Frames scroll bars are used to shift/slide the client area.
Any ideas or suggestions?