If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Other PC Databases > Screen size un foxbase+ 2.1.2d

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-09, 11:09
cyruspy cyruspy is offline
Registered User
 
Join Date: Jul 2009
Posts: 5
Screen size un foxbase+ 2.1.2d

Hi, anybody knows how to change the screen size in foxbase+/foxplus?, it's running on SCO Openserver, i'm connecting through SSH, I can resize the SSH client window, but the application doesn't use all of it.
Reply With Quote
  #2 (permalink)  
Old 07-22-09, 12:39
cyruspy cyruspy is offline
Registered User
 
Join Date: Jul 2009
Posts: 5
PS: Basically, i would like to use more that the initial 25 rows and 80 columns...
Reply With Quote
  #3 (permalink)  
Old 09-16-09, 18:00
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
foxbase, and Foxpro 2.6 are restricted within the compiler/runtime to 25 lines.
Reply With Quote
  #4 (permalink)  
Old 09-28-09, 04:51
RedAxl RedAxl is offline
Registered User
 
Join Date: Nov 2004
Posts: 39
In FoxPro 2.5 and 2.6, You can change the screen size/mode using the command
SET DISPLAY TO displaymode

Example: SET DISPLAY TO VGA50

Available modes are:
CGA, COLOR, EGA25, EGA43, MONO, VGA25, VGA50
__________________
Doing something easily
what others find difficult is "Talent"
Reply With Quote
  #5 (permalink)  
Old 09-28-09, 08:27
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
I tried "set display to vga50" with "Microsoft Foxpro 2.6 for Unix", and while there are no error messages, "@30,5 say "hello world" gives an off screen error, and the response from sys(2006) is "ansi color".
Reply With Quote
  #6 (permalink)  
Old 10-11-09, 23:44
RedAxl RedAxl is offline
Registered User
 
Join Date: Nov 2004
Posts: 39
I test the display mode vga50 on FoxPro 2.6 for DOS
It works just fine up to line @49, 5 SAY "Test"
Off screen error begin appears on line @50, 5 SAY "Test"

I don't have Foxpro for UNIX to test your case.
But if there is no Syntax Error when your issue the "Set Display to VGA50",
then it is a valid mode in FoxPro 2.6 for UNIX.

Maybe you could try interchanging the @row,column to @column, row.
SOME Programming language have different orientation regarding row and column.
__________________
Doing something easily
what others find difficult is "Talent"
Reply With Quote
  #7 (permalink)  
Old 10-12-09, 10:39
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
When Microsoft published Foxpro for Unix, they took the DOS version and compiled it to produce a Unix executable. They made minimal changes. The problem is that it is a character based application, not an X based app, so the display is treated as an 80x25 dumb crt (think vt100).
Note that the output from the sys(2006) function is not VGA.
Microsoft never issued any updates or patches to the original 1994 version.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On