Scripting the Geometry Manager

2003-01-28 Thread Bill Vlahos
I have a field which correctly adjusts its size in response to resizing 
of the window via the geometry manager. This works fine but I would 
also like to optionally insert another object between the field and the 
bottom of the window. I can't see where to script the settings in the 
geometry manager for an object.

The effect I want is similar to drawers in OS X but I can't wait for 
Rev 2.0 which I believe has this feature.

If I could script an object's geo manager setting, show/hide the new 
object, resize window, then update the screen this would work.

Thanks,
Bill Vlahos



Bill Vlahos
IT Manager, AeroVironment Inc.
Work: 805-581-2187 x306
Cell: 805-490-9992
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Scripting the Geometry Manager

2003-01-28 Thread Jan Schenkel
--- Bill Vlahos [EMAIL PROTECTED] wrote:
 I have a field which correctly adjusts its size in
 response to resizing 
 of the window via the geometry manager. This works
 fine but I would 
 also like to optionally insert another object
 between the field and the 
 bottom of the window. I can't see where to script
 the settings in the 
 geometry manager for an object.
 
 The effect I want is similar to drawers in OS X but
 I can't wait for 
 Rev 2.0 which I believe has this feature.
 
 If I could script an object's geo manager setting,
 show/hide the new 
 object, resize window, then update the screen this
 would work.
 
 Thanks,
 Bill Vlahos
 

Hi Bill,

You'll have to do a bit of digging, but I think that
data is stored in the custom property
  cRevGeometry[master,scaleBottomDistance]
of the object.
So I think if you change that, along with the
corresponding item in the custom property
  cRevGeometry[master,expectedRect]
you should be able to trick the Geometry Manager into
resizing things correctly upon 'revUpdateGeometry'.

Hope this helped,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Scripting the Geometry Manager

2003-01-28 Thread Jan Schenkel
--- Jan Schenkel [EMAIL PROTECTED] wrote:
 --- Bill Vlahos [EMAIL PROTECTED] wrote:
  I have a field which correctly adjusts its size in
  response to resizing 
  of the window via the geometry manager. This works
  fine but I would 
  also like to optionally insert another object
  between the field and the 
  bottom of the window. I can't see where to script
  the settings in the 
  geometry manager for an object.
  
  The effect I want is similar to drawers in OS X
 but
  I can't wait for 
  Rev 2.0 which I believe has this feature.
  
  If I could script an object's geo manager setting,
  show/hide the new 
  object, resize window, then update the screen this
  would work.
  
  Thanks,
  Bill Vlahos
  
 
 Hi Bill,
 
 You'll have to do a bit of digging, but I think that
 data is stored in the custom property
   cRevGeometry[master,scaleBottomDistance]
 of the object.
 So I think if you change that, along with the
 corresponding item in the custom property
   cRevGeometry[master,expectedRect]
 you should be able to trick the Geometry Manager
 into
 resizing things correctly upon 'revUpdateGeometry'.
 

Come to think of it, this is a good case for the
profile manager if you're not using it for other
purposes: simply define a profile DrawerOpened and
set everything up under that profile, and switch
between Master and DrawerOpened by changing the
cRevGeneral[profile] of the objects.

Jan Schenkel.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution