|
-
Apr 11th, 2005, 10:22 AM
#1
Thread Starter
Member
selecting whole row, msflexgrid
i would like to eb able to select the whole row when a user clicks on any cell. however just doing msflexgrid.rowsel = MSFlexGrid.MouseRow doesnt select the whole row. how would i select the whole row? 
plz help
-
Apr 11th, 2005, 10:44 AM
#2
Re: selecting whole row, msflexgrid
Set the FlexGrid's SelectionMode property to flexSelectiontByRow. This will handle the highlighting of rows when the user clicks or uses the keyboard.
If at any time in your code, the Row and/or Col properties are set, you may need to select the entire row manually.
Set the Col property equal to the first non-fixed row.
Set ColSel equal to the number of columns
Col = FixedCols
ColSel = Cols - 1
-
Apr 11th, 2005, 11:00 AM
#3
Thread Starter
Member
Re: selecting whole row, msflexgrid
iam sorry, i didnt realise it was that easy
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
|