New topic: Uniform GUI acrross all windows using Containers by Code
<http://forums.realsoftware.com/viewtopic.php?t=31749> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message raimon Post subject: Uniform GUI acrross all windows using Containers by CodePosted: Mon Dec 28, 2009 6:16 am Joined: Thu Sep 21, 2006 11:56 am Posts: 109 Hello, I have to design a uniform GUI across all the application. All windows must have: - Top container (like toolbar) - Left Container (like Mail left bar, for example) - Bottom Container (like lots of apps for showing info, status, ...) I've created a custom window class, where I add the containers by code. Also note that not all of the containers will be visible always, maybe just top and left, or left and bottom, ... The problem is how handle the objects that are in the window BEFORE placing the containers. For example, if I add the top container, I can loop for every RectControl and move down the heigth, but some of them would need also a less heigth, If I add the left container, I can move all RectControl to the rigth, but same problem, maybe some of the RectControls objects would need also less width, ... Of course I can add the three containers in each window as an object, but I would like to abstract them, becasue if I have to change the size of them at a later time, I can't go for every window of the app (more than 200) one by one ... All the RectControl objects of the windows have their lock_xxxx propertiesconfigured correctly. Maye one approach would be resize the window with the values of the containers, unlock all the lock_xxxx properties of each object, resize the window again to the original size, move the objects (they have now the correct size), and lock_xxx again their properties ... Lot of work for such thing ..... Any better idea or approach ?????? thanks in advance, regards, r. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml rbforumnotifier@monkeybreadsoftware.de