|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
MSFlexGrid row selection problem :: RESOLVED
Hi,
I have a MSFlexGrid on a form. In design time the grid has: 2 Rows (to allow Fixed Rows=1) 10 Columns (Fixed Cols=0) Selection Row = By Row I format it at run time as follows: Rows=0 Fixed Rows=0 and then populate it by constructing a string from recordset data and adding it to the grid. Once all the records have been added I add the headers string at position 0 and set FixedRows = 1. The problem is that I don't get the row select happening! When I press a row it doesn't get highlighted. I created a demo form with a grid and some hard-coded data in it and it all works fine! I can't put my finger on what's the problem. Help would be appreciated! thanx Last edited by shafan : August 5th, 2003 at 11:11 PM. |
|
#2
|
|||
|
|||
|
hi,
try these Private Sub MSFlexGrid_Click() MSFlexGrid.AllowBigSelection = False MSFlexGrid.SelectionMode = flexSelectionByRow End Sub |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > MSFlexGrid row selection problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|