LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a selection inside a table cell

Hello!

 

I'm currently in need of a solution for reading the selected area of a string inside a table cell.

I can set an event on entering the edit mode (I think a selection is not possible without entering the edit mode, right? Or there an option to be "always edit mode"?), but there seems to be no possibility to get the selection. The attributes "ATTR_TEXT_SELECTION_START" and "ATTR_TEXT_SELECTION_LENGTH" do not exist for a table cell. Is there are hidden text box control inside of a table cell in edit mode from which I can read the selection? If so, can I access it somehow? Or is reading a selection just not possible without some complicated construction like putting a text box control over the cell when it is clicked? That would mean I have to move it when the user scrolls and partially/fully hide it at the limits of the table. Sounds painful ...

 

 

0 Kudos
Message 1 of 1
(108 Views)