New topic: 

Reflect ContainerControl instance changes at design time

<http://forums.realsoftware.com/viewtopic.php?t=35648>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        hmasr          Post subject: Reflect ContainerControl instance 
changes at design timePosted: Wed Sep 29, 2010 5:05 am                         
Joined: Sun Sep 19, 2010 3:05 am
Posts: 6                I have very simple ContainerControl containing 2 
canvases (Can1 and Can2) and 2 properties (Can1Height, Can2Height) populated in 
the properties sheet. Can1.LockTop is True and Can2.LockBottom is True.
The total height should equal to the ContainerControl height. When Can1Height 
change Can2Height should change automatically to: 
ContainerControl.Height-Can1Height and vise-versa to maintain the total height.
All these are very easy to be done in run-time, my question is how to make 
these changes take place at design time, i.e. if I changed Can1Height in the 
properties sheet Can2Height to be recalculated and the ContainerContral to be 
redrawn.   
                             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

[email protected]

Reply via email to