New topic: 

problems with canvas using as groupbox control

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

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       Marc           Post subject: problems with canvas using as 
groupbox controlPosted: Mon Aug 03, 2009 8:07 am                               
Joined: Wed Sep 10, 2008 6:48 am
Posts: 37
Location: Linne, The Netherlands              Hy,

On my window design I have an tabpanel. 
On each tab I placed a canvas control with rounded corners and a backcolor. I 
used this as if it was a groupbox. On this canvas control I placed my other 
controls like textboxes, comboboxes and so on...

The canvas I used is actualy not a realbasic standaard canvas but a 
classcontrol with the normal canvas as superclass. It contains the right code 
in the paint event for making the roundedborder and background. 

After I run the application it looks as expected. If I save and re-open the 
project the the canvas controls of each tabpanel is moved to the top tabpanel. 
The controls originaly placed on the canvas are standing directly on the 
tabpanel with the correct tabindex. As if the canvas is moved a way and the 
controls on it felt on the underlaying tabpanel. Just like removing a carpet 
and the table on it stands directly on the floor.

So it looks the canvas control does not hold the childs controls. As it was 
only behind the controls but not acting as parent for those controls.
Is this normal behaviour and am I using the control in an incorrect way, or do 
i have to report it as an bug.

I hope I explained it clearly.     
_________________
Marc
The Netherlands
___________________________________________________________________
REAlbasic 2009, MySQL, Ben's Listbox, Reportmanager (Platform Windows)  
                            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