At 01:36 PM 8/16/2004 +0700, Chuck Conrad wrote:
Is there anyway to change the screen font size in the command file?
I know I can change it via the Preferences but I would like to change
the font size when display a select statement. I use the following
statement SELECT &vcol FROM &vtable SORTED BY &vsort
&vwhere1 which can display anywhere from 2 to 20 columns in a
listing. By setting the font size to 6 or 7 instead of the normal font size,
I could increase the width to bring in all of the data.
Chuck,
R:BASE 6.5++ for Windows includes the following feature and you
may also want to take advantage of that.
The "BIG R>" Window (Ability to increase width and lines).
Here is how it works. When the R> screen gets created it will
be sized based on the current values for LINES and WIDTH, but
never smaller than 25 rows and 80 columns (the current default).
If you change the LINES or WIDTH setting at the R> then you
need to close the R> windows and re-create it to see the effect.
You can of course change the LINES and WIDTH setting in the
RBASE.CFG file at startup. We have found it works best when
you make sure the actual LINES setting will fit on your screen
without any vertical scroll bars. Having the WIDTH wider than
the actual screen simply means that you might have to use the
horizontal scroll bars to see everything. So far this enhance
has been made with very few changes to the actual code, but it
seems to work pretty well. Play with it and let us know what
you think. For people who like a lot of real estate on their
screen, seeing lots of rows and columns from a SELECT is great.
Example:
With a screen resolution of 1024x768:
CONNECT Concomp
SELECT * FROM Employee
(You will only see the results up to 80 columns wide)
Now, at the R> prompt, type:
SET WIDTH 120
Click on File > Close Window
Click on R> prompt icon from toolbar options
SELECT * FROM Employee
(You should see the difference with more displayed data)
Note: Increased WIDTH will provide you with horizontal scroll
bar to display more data.
Try the same logic with SET LINES xx option to display more
data vertically!
Of course, using the Next Generation R:BASE 7.1 for Windows,
you can customize the look and feel of R> prompt, including
your favorite font and size!
Enjoy and make sure to have fun!
Very Best R:egards,
Razzak.