Main Board > Tips and Techniques
How to determine if INSERT mode is enabled in Text Mode
(1/1)
PxPlus:
In text mode you can set the system parameter 'IM' to preserve the Insert Mode state between inputs.
However you can also read byte 19 (bit $04) of the FIN to determine if Insert mode is active. If you want to force Insert mode to be active you can PREINPUT the negative CTL value associated with INSERT mode (-1009).
For Example:
IF and(mid(fin(0),19,1),$04$)=$00$ preinput -1009
In Windows/GUI mode this is handled by the individual controls.
Navigation
[0] Message Index
Go to full version