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: myron.fineg...@gmail.com
To: rbase-l@googlegroups.com
Sent: Wed, Apr 12, 2023 9:52 am
Subject: [RBASE-L] - Scaling a form that is large to fit on a laptop display

<!--#yiv5182104638 filtered {}#yiv5182104638 filtered {}#yiv5182104638 
p.yiv5182104638MsoNormal, #yiv5182104638 li.yiv5182104638MsoNormal, 
#yiv5182104638 div.yiv5182104638MsoNormal 
{margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv5182104638 
p.yiv5182104638MsoPlainText, #yiv5182104638 li.yiv5182104638MsoPlainText, 
#yiv5182104638 div.yiv5182104638MsoPlainText 
{margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv5182104638 
span.yiv5182104638EmailStyle17 {font-family:"Calibri", 
sans-serif;color:windowtext;}#yiv5182104638 span.yiv5182104638PlainTextChar 
{font-family:"Calibri", sans-serif;}#yiv5182104638 .yiv5182104638MsoChpDefault 
{font-family:"Calibri", sans-serif;}#yiv5182104638 filtered {}#yiv5182104638 
div.yiv5182104638WordSection1 {}#yiv5182104638 filtered {}#yiv5182104638 
filtered {}#yiv5182104638 filtered {}#yiv5182104638 filtered {}#yiv5182104638 
filtered {}#yiv5182104638 filtered {}#yiv5182104638 filtered {}#yiv5182104638 
filtered {}#yiv5182104638 filtered {}#yiv5182104638 filtered {}#yiv5182104638 
ol {margin-bottom:0in;}#yiv5182104638 ul {margin-bottom:0in;}-->We have a form 
that:   
   - Is connected to 10 tables.
   - 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 followingSET 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 
= vSizeENDIFPROPERTY 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 rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/016a01d96d4e%246d45ade0%2447d109a0%24%40gmail.com.

-- 
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 rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/1014491238.2287259.1681321952299%40mail.yahoo.com.

Reply via email to