MS Flex Grid Headers 
Author Message
 MS Flex Grid Headers

I am using the MS Flex to display some data. I have one fixed row I am
using for a header. How do I detect whether or not the user clicks on
the header row or on a row with data in it? I used to click event, but
the row and col properties show I am clicking on the first row with
data,not the header when I click on the header.

Any suggestions?

David

Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.



Thu, 21 Feb 2002 03:00:00 GMT  
 MS Flex Grid Headers
If you click the header and the erntire column is selected the
msflexgrid1.col differs from the msflexgrid1.colsel value

So
If msflexgrid1.colsel <> msflexgrid1.col then
    do whatever you like
endif


Quote:
> I am using the MS Flex to display some data. I have one fixed row I am
> using for a header. How do I detect whether or not the user clicks on
> the header row or on a row with data in it? I used to click event, but
> the row and col properties show I am clicking on the first row with
> data,not the header when I click on the header.

> Any suggestions?

> David



Fri, 22 Feb 2002 03:00:00 GMT  
 MS Flex Grid Headers
Have you tried the property Msflex1.Mouserow yet ?
This should give you the row where the mousepointer is on.
For the first row (columnheaders) this should be 0 (zero)
Good luck,
Lieven


Quote:
>I am using the MS Flex to display some data. I have one fixed row I am
>using for a header. How do I detect whether or not the user clicks on
>the header row or on a row with data in it? I used to click event, but
>the row and col properties show I am clicking on the first row with
>data,not the header when I click on the header.

>Any suggestions?

>David

>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.



Fri, 22 Feb 2002 03:00:00 GMT  
 MS Flex Grid Headers


19:29:17 GMT bearing the following fruit:

Quote:
>I am using the MS Flex to display some data. I have one fixed row I am
>using for a header. How do I detect whether or not the user clicks on
>the header row or on a row with data in it? I used to click event, but
>the row and col properties show I am clicking on the first row with
>data,not the header when I click on the header.

>Any suggestions?

.mouserow

Drac



Fri, 22 Feb 2002 03:00:00 GMT  
 MS Flex Grid Headers
Thanks Lieven, that worked! I knew I was overlooking some property but I
could find it.

Thanks again,
David



Quote:
> Have you tried the property Msflex1.Mouserow yet ?
> This should give you the row where the mousepointer is on.
> For the first row (columnheaders) this should be 0 (zero)
> Good luck,
> Lieven


> >I am using the MS Flex to display some data. I have one fixed row I
am
> >using for a header. How do I detect whether or not the user clicks on
> >the header row or on a row with data in it? I used to click event,
but
> >the row and col properties show I am clicking on the first row with
> >data,not the header when I click on the header.

> >Any suggestions?

> >David

> >Sent via Deja.com http://www.deja.com/
> >Share what you know. Learn what you don't.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


Fri, 22 Feb 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. how to implement column header sorting using MS Hierarchical flex grid

2. data grids/ms flex grids

3. Grid (like MS Flex Grid) With a multi line select

4. Populating MS Flex Grid w/Data

5. MS Hierarchical Flex Grid

6. About MS Flex Grid - Tell me

7. Printing form containing MS Flex Grid

8. MS Flex Grid Easy Question (I Hope)

9. VB6 MS Flex Grid Copying to clipboard

10. File Loading/Saving File Forms and the MS Flex Grid

11. Q: MS Flex Grid, user-entry fields?

12. MS Flex Grid Click problems

 

 
Powered by phpBB® Forum Software