PillarSoft

http://www.pillarsoft.net/os-2-software/rexx/setting-read-only-onoff-for-multiple-line-entry-fi.shtml

Setting Read Only On/Off for Multiple-Line Entry Fields (VisProRexx)

Contributed by: Jerry Prather

I initially had a major problem of how to turn on and off the read-only property for multi-line fields. The manual implies that it is possible, but doesn’t show a command. I forget not where I finally found the answer, but the following works:

Set Read-only off:

CALL VpItem window,ITEMID,’SETSTYLEBIT’,5,0

Set Read-only on:

CALL VpItem window,ITEMID,’SETSTYLEBIT’,5,1