|
-
Nov 5th, 2005, 12:57 PM
#1
Thread Starter
Junior Member
MS Flexgrid - Only allow a single row to be selected
Does anybody know if this is possible,
I have allowbigselection set to false and selectionmode set to row
-
Nov 5th, 2005, 01:01 PM
#2
Re: MS Flexgrid - Only allow a single row to be selected
You would have to loop thru the whole row and manually select all the cells.
You can use the .Rows statement to keep track of the last row.
-
Nov 5th, 2005, 01:25 PM
#3
Thread Starter
Junior Member
Re: MS Flexgrid - Only allow a single row to be selected
Hi David,
I'm not sure that I follow you. How does this prevent other rows from being selected?
For example if I hold down shift and drag the mouse I can select several rows
-
Nov 5th, 2005, 01:36 PM
#4
Re: MS Flexgrid - Only allow a single row to be selected
No, but you could put code in the mouse up event. What's the problem of seleciting multiple rows? Can't you just check and see if more than one row is selected?
I guess I don't understand what you want to do. I thought you could click in any row and highlight the whole row after clearing any other rows. That way only one row would be selected at a time.
-
Nov 6th, 2005, 03:27 PM
#5
Lively Member
Re: MS Flexgrid - Only allow a single row to be selected
Ummm surely this is as simple as on mouse up event
.rowsel = .row
I am not suffering from insanity......... ...........I am loving every minute of it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|