yronium Level: Moderator

 Registered: 14-04-2002 Posts: 907
|
Re: How to know event click on header of MSFlex was happened?
What do you mean by 'header of MSFlex'?
If you mean any column header in a MSFlexGrid control where you set the FixedColumns property on 1, it is only a normal cell doubleclick with grid's Row property value equal to 0.
So, in the Grid_DoubleClick() event, you can check it with
If grdMyGrid.Row = 0 Then ' user has double-clicked a column header
' clean up all grid's cells, included the cells in header's row
grdMyGrid.Clear
' requery the grid, included header's row
[... code to requery the grid here...] |
Otherwise, explain us a bit more clearly.
Hope it helps
____________________________
Real Programmer can count up to 1024 on his fingers
|