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