dwightk12345
Programmer
Hello,
I have a text area with some fixed values. I need to over-ride the default behaviour. Normally, when you click on a value it gets highlighted. But then if you click on another value, the new one is highlighted and the previous one loses it's selection.
My Text Area
Fixed Value 1
Fixed Value 2
...
I want it to maintain it's selection until and unless there is an explicit click to de-select it. As well, I want to disable the drag select and CTRL select. So the only way to select is by click and the only way to de-select is by another click.
Can anyone give me a code snippet on how to do this.
Thanks.
I have a text area with some fixed values. I need to over-ride the default behaviour. Normally, when you click on a value it gets highlighted. But then if you click on another value, the new one is highlighted and the previous one loses it's selection.
My Text Area
Fixed Value 1
Fixed Value 2
...
I want it to maintain it's selection until and unless there is an explicit click to de-select it. As well, I want to disable the drag select and CTRL select. So the only way to select is by click and the only way to de-select is by another click.
Can anyone give me a code snippet on how to do this.
Thanks.