Tom

 

There is a property command: PROPERTY RBASE_FORM WINDOW_STATE 'MAXIMIZED'

 

But probably there is more you have to take into account

-      Size of the form Height X Width

-      Think about the setting of the anchors (right mouse click when a
field is selected in the form)

 

There is also a getproperty command available to find out the screen size.

It looks like this:

 

  GETPROPERTY RBASE_FORM CLIENTHEIGHT 'V_MDW_SCR_Heigth'

  GETPROPERTY RBASE_FORM CLIENTWIDTH  'V_MDW_SCR_WIDTH'

 

Convert these variables into an integer and then you play around with the
size of the form

 

The following properties are available for putting the form on the screen

 

  PROPERTY RBASE_FORM TOP  .V_TOP

  PROPERTY RBASE_FORM LEFT .V_Left

  PROPERTY RBASE_FORM HEIGHT .V_Height

  PROPERTY RBASE_FORM WIDTH .V_width

 

Tony

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART
Sent: dinsdag 18 november 2014 16:32
To: RBASE-L Mailing List
Subject: [RBASE-L] - Adjusting for monitor size

 

I have a form that I want full screen, on my laptop it works fine but when I
run it on my work computer(which is a different size) it cuts off the right
side.  I have seen posts before on how to adjust for screen size but don't
remember.  Any help would be appreciated.

Tom Hart

Reply via email to