Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flexgrid stop multiple row selection 2

Status
Not open for further replies.

1todd1

Programmer
Jan 19, 2002
17
NZ
Is there a property or method to stop multiple rows being selected using flexcgrid. Im aware of the property 'selection mode' - which you can set to rows. However if you click on a row and drag – mouse still down, multiple rows become selected.

Any thoughts are kindly accepted

thanks for yor time Todd :)
 
Try setting the 'AllowBigSelection' property. Thanks and Good Luck!

zemp
 
Set the redraw property to false when the mousebutton is down and set it to true on mouse up...

Private Sub fg_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
fg.Redraw = False
End Sub

Private Sub fg_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
fg.RowSel = fg.Row
fg.Redraw = True
End Sub


Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top