On 02/22/2011 1:59 PM, Christian Schmitz wrote:
>
> On 22.02.2011, at 20:31, Tim Jones wrote:
>
>> Hi All,
>>
>> Is there a flag that I've missed, or does using SmoothResizeMBS mean that I 
>> must manually relocate the controls?
>
> Yes. Arnaud is right. The OS resizes window and REAL Studio doesn't notice, 
> so it does not resize it.
>
> In examples we do smooth resize and on end resize the window with REAL Studio 
> methods, so control resize probably.

This is an old thread, but I'm having this trouble as well (OS X 10.6.8, 
2011r3, 11.2) when moving between panels in a TabPanel, and even though 
I put standard RS commands for width and height after the 
SmoothResizeMBS command, the controls don't get positioned properly.

I've checked all the controls to verify they have the appropriate Lock 
properties set, but don't know what else to check.

What am I missing?

---------------------
   dim intHeight As Integer
   dim intWidth As Integer

   intWidth = self.Width

   SetContextualHelp()

   // dpg - 2011-09-21 - this could *possibly* go in the 
SetContextualHelp method, but that's a pretty specific function
   //so I don't think I want to pollute it with a dimension change

   select case PreferencesTabs.Value
   case 0 //the fax page
     // make the window taller to accommodate the additional items on 
this page
     intHeight = 541
     //self.Height = 541
   case 1, 2 //the  feedback page, the advanced page
     // shorten the window
     intHeight = 381
     //self.Height = 381
     //case 2 // the advanced page
     // shorten the window
     //self.Height = 381
   end select

   // dpg - 2011-09-22 - smooth resize
   self.SmoothResizeMBS(intWidth, intHeight)
   //then set the dimensions via RB so they stick
   self.Width = intWidth
   self.Height = intHeight

--------------------


-- 
David Glass - Gray Matter Computing
graymattercomputing.com
Help Desk: http://www.graymattercomputing.com/helpdesk
559-303-4915
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to