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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/016a01d96d4e%246d45ade0%2447d109a0%24%40gmail.com.