Word wrap On/Off (AREV Specific)
At 19 NOV 2002 03:36:23PM S Shavdia wrote:
Using AREV 2.12
Trying to turn WORDWRAP ON before user enters multivalued text field. Can do it by running a Subroutine at Pre-Promt which basically does CALL CATALYST("K","{CTRL-W}{DOWN}{CR}{F9}"). However on next entry of multivalued prompt it turns it off as it's toggle.
Any way to check if WORDWRAP ON, then Subroutine calls Catalyst only if it's true or any other solution?
Thanks
Sadhana
At 19 NOV 2002 05:23PM Jim Jefferson wrote:
Here's another method at 3.12; not sure if this will work (with adjustments) at 2.12.
We call a sub preprompt and postprompt, with an argument (on/off).
In the sub:
$insert SYSINCLUDE,ENVIRON.CONSTANTS
Then…
Case "ON"
@insert=0 ;* insert line mode off@insert=1 ;* line wrap onCase "OFF"
@insert=1 ;* insert line mode on@insert=0 ;* line wrap offand so on.
Hope this is what you were looking for, and that there is equivalent functionality in 2.12.
Jim
At 20 NOV 2002 03:55PM S Shavdia wrote:
That's exactly what I needed. It works in 2.12 also.
Thanks a lot.
Sadhana