Jan,

Thank you as always.

 

Myron

 

From: [email protected] <[email protected]> On Behalf Of jan 
johansen
Sent: April 12, 2023 10:45 AM
To: [email protected]
Subject: Re: [RBASE-L] - Scaling a form that is large to fit on a laptop display

 

Myron,

 

Couple of observations.

 

IF vSize < '1920' THEN   SET VAR vNewSize = '1920'

ELSE

   SET VAR vNewSize = vSize ( <-- shouldn't vsize be a dotted variable? )

ENDIF

PROPERTY RBASE_FORM SCALEBY .vNewSize (possibly use &vNewSize)

 

Jan

 

  

From: <[email protected] <mailto:[email protected]> >
To: <[email protected] <mailto:[email protected]> >
Date: Wed, 12 Apr 2023 07:52:37 -0700
Subject: [RBASE-L] - Scaling a form that is large to fit on a laptop display
  

We have a form that:

1.      Is connected to 10 tables.
2.      Uses six Enhanced Group Boxes as containers for the data.

 

The Goal: to be able to scale the form to fit on a laptop. The form is 1863 
wide and 1066 high. The Border Style is set to sizable. The setup works fine on 
24 or 27 inch displays.

 

So, one of the people on our team, Jim, did the following:

I found if the screen resolution on my laptop is set to 1920x1080 (recommended 
setting), the form displays correctly.  However, I use a lower resolution of 
1440x900 to make it easier to see.

One option is to manually set the Windows screen resolution to 1920x1080 when 
displaying the form.

Another is to hardcode the resolution to 1920 in the After Start EEP:

PROPERTY RBASE_FORM SCALEBY '1920'

Finally, it could be programmed in the After Start EEP with something like the 
following

SET VAR vRes TEXT = (CVAL('SCREENSIZE'))   -- Get screen size (e.g. 1440,900)

SET VAR vSize TEXT = (SSUB(vRes,1))              -- Get first number (e.g. 
1440) SET VAR vNewSize TEXT = NULL                       -- New screen size

 

-- Resolution must be at least 1920 x 1080 for Property Search form  to fit on 
the screen.  If less, then set to 1920, else leave as is.

IF vSize < '1920' THEN

   SET VAR vNewSize = '1920'

ELSE

   SET VAR vNewSize = vSize

ENDIF

PROPERTY RBASE_FORM SCALEBY .vNewSize

 

Note:  I found the following in the Properties document for RBase Forms, but 
could not get it to work.

PROPERTY RBASE_FORM SCALEBY 'FILL_SCREEN'

Possibly there is another way to approach this.  It's not something I've worked 
with before.

 

Jim

 

 

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/016a01d96d4e%246d45ade0%2447d109a0%24%40gmail.com
 
<https://groups.google.com/d/msgid/rbase-l/016a01d96d4e%246d45ade0%2447d109a0%24%40gmail.com?utm_medium=email&utm_source=footer>
 .

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/WC20230412174439.160138%40jjcalibrations.com
 
<https://groups.google.com/d/msgid/rbase-l/WC20230412174439.160138%40jjcalibrations.com?utm_medium=email&utm_source=footer>
 .

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/018701d96d8c%248a55d430%249f017c90%24%40gmail.com.

Reply via email to