Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21848

Multiple selections of an MSFlexGrid

$
0
0
Thanks to ColinE66 and si_the-geek, I was able to use a word-wrapped MSFlexgrid in my project vice a non-word-wrapped textbox.

The FIRST issue I have having now, is that I want to select multiple rows of that grid (there is only ONE column) and capture the text values in each of those selected rows (column(0)).

Been researching, and can find no easy (er, understandable) way to simply return those text values. for example, if I had a grid like this:

"Now is the time for all good men..."
"Four score and ......"
"I pledge allegiance to the.."
"Give me liberty or give me...."

And I select rows 1 and 2 ("Four scoure and ....", and "I pledge allegiance to the..", I would like to paste those two texts into the clipboard (I know how to use the clipboard, but can't seem to be able to return selected row data)....remember, I only have one column.

SECOND ISSUE....I can 'select' (appear highlighted) consecutive rows of my grid1 with the mouse, using the Shift key (windows op), but cannot select more than ONE row using the CTRL Key/Mouse combination.

Viewing all articles
Browse latest Browse all 21848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>