Try this code in an OverlayMBS:

OverlayMBS.MouseUp
  system.DebugLog " overlay height = " + str(me.height)
  me.height = 100
  Update
  system.DebugLog " overlay height = " + str(me.height)
  

On Carbon, it works as expected:

6/3/11 12:41:02 PM      [0x0-0xc8dc8d].My Application.debug[15919]      
windowShown
6/3/11 12:41:04 PM      [0x0-0xc8dc8d].My Application.debug[15919]       
overlay height = 440
6/3/11 12:41:04 PM      [0x0-0xc8dc8d].My Application.debug[15919]      
windowboundschanged
6/3/11 12:41:04 PM      [0x0-0xc8dc8d].My Application.debug[15919]       
overlay height = 100


On cocoa, it malfunctions:

6/3/11 12:40:29 PM      [0x0-0xc8cc8c].My Application.debug[15914]       
overlay height = 100
6/3/11 12:40:29 PM      [0x0-0xc8cc8c].My Application.debug[15914]       
overlay height = 360

Notice that the windowShown and windowBoundsChanged events are missing
Also, the height is not setting correctly.

It seems to affect both .Height and .Width, but .Width behaves a little better.

Can you fix this?


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to