Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Scripting & Automation
  New Posts New Posts RSS Feed - Custom screen size
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedCustom screen size

 Post Reply Post Reply
Author
Message
anonymous View Drop Down
Groupie
Groupie


Joined: January 15 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote anonymous Quote  Post ReplyReply Direct Link To This Post Topic: Custom screen size
    Posted: February 13 2004 at 4:08am
I have anther requirement that you may be able to assist me with.

We have changed our 4GL (POSH) to be able to dynamically set the screen size depending on the data on the screen. To enable this feature we have set Accuterm NormRows to 40 and NormCols to 100 or 120.

What I need is a method of querying Accuterm to see what the current setting are and then a method of instructing Accuterm to change these setting to accommodate a larger screen.

I am not talking about Normal –v- Wide but the ability to change these values to specific settings.

We would standardise on a range of acceptable combinations and we would have a minimum size setting but we still need to allow for many combinations and normal/wide is not enough.
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: February 13 2004 at 4:14am
You can use a small script to query or modify the NormRows and NormCols settings. To get the current size:

PRINT CHAR(27) : CHAR(2) : 'P InitSession.Output CStr(InitSession.NormCols) & "," & CStr(InitSession.NormRows) & Chr$(13) ' : CHAR(13) :
INPUT COLSROWS


To change the setting, use:

PRINT CHAR(27) : CHAR(2) : 'P InitSession.NormCols = ' : COLS : ' : InitSession.NormRows = ' : ROWS : CHAR(13) :
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.