Karen,

Thank you.

We have been trying to solve this for months.

Appreciate the response.

 

Myron

 

From: 'Karen Tellef' via RBASE-L <[email protected]> 
Sent: April 12, 2023 10:53 AM
To: [email protected]
Subject: Re: [RBASE-L] - Scaling a form that is large to fit on a laptop display

 

As far as I know, the "fill_screen" property only works to scale something UP, 
not down.  We played around with using that at a client who had all different 
resolutions, so I designed a form for the smallest resolution then did a 
"fill_screen" on all the other computers, but we didn't like the way the fonts 
were scaled and sometimes combo boxes were cut off.

 

 

Karen

 

 

 

-----Original Message-----
From: [email protected] <mailto:[email protected]> 
To: [email protected] <mailto:[email protected]> 
Sent: Wed, Apr 12, 2023 9:52 am
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] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/1014491238.2287259.1681321952299%40mail.yahoo.com
 
<https://groups.google.com/d/msgid/rbase-l/1014491238.2287259.1681321952299%40mail.yahoo.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/018c01d96d8c%24c9905a30%245cb10e90%24%40gmail.com.

Reply via email to