![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
anonymous
Groupie
Joined: January 15 2004 Location: United States Status: Offline Points: 46 |
Post Options
Thanks(0)
Quote Reply
Topic: Custom screen sizePosted: 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. |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
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) : |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |