LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert/Overwrite Mode in Text Boxes

I am using a simple textbox with CVI 5.5 and I am unable to switch between Insert and Overwrite mode while editing the text. Is there any way to switch between these modes other than the "Insert" key which doesn't work? TIA!
0 Kudos
Message 1 of 3
(3,103 Views)
A simple workaround should be to select with mouse or keyboard the part of text you need to replace and simply retype new text; this isn't the exact behaviour as overtyping but it works.
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,103 Views)
Keith:

The Textbox control has no native support for insert mode. In order to get this effect, you'd need to write some code to handle the EVENT_KEYPRESS event of the Textbox, and remove a character from the Textbox if the user presses any printable character.

Chris Wood
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,103 Views)