New topic: 

Resizing and locking controls in a code-resized webcontainer

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        pwambugu          Post subject: Resizing and locking controls in 
a code-resized webcontainerPosted: Sat Jan 05, 2013 4:18 am                     
    
Joined: Tue Jan 01, 2013 10:43 am
Posts: 1                Hi

I'm loading webcontainers from a menu in one webpage which has a navigation 
panel(listbox). The containers should should be re-sized to the new size of the 
web page area which may vary(due to screen size,resolution and current page 
size) This is what i have done:

'Area to load the container
PLArea = MainPage.Width - ListBox1.Width
c =  new CustomerRegister
'set the new with according to the current size of the page  
c.Width = PLArea -8
'embed
c.EmbedWithin( mainpage, listbox1.width, toolbar1.height+30, c.Width, c.Height )

I have also set a list in a web container to fill the new width on shown event 
- its working.

PROBLEM: The controls in the webcontainers such as save and close buttons(which 
i have locked to the right) are not locking to the right of the newly defined 
width. I have even tried to lock them thro code (webcontainer open and shown 
events) but not yielding

Kindly assist.   
                             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