On Tue, November 30, 2010 12:53 pm, Fred Taylor wrote:
> You can do it much easier using AEVENTS() in your handler.
>
>
> * your_handler code
> LOCAL ax[1]
> AEVENTS(ax,0)   && ax is an array that contains the object, the event,
> and how it was raised MESSAGEBOX(ax[1].Parent.Name)   && show the column
> name of the one that was clicked.
>
> This assumes you did your BINDEVENT to the grid column headers:
>
>
> * Form Init
> LOCAL x
> FOR m.x=1 TO thisform.grid1.ColumnCount
> BINDEVENT(thisform.grid1.Columns(m.x).Header1,"Click",thisform,"your_handl
> er") ENDFOR
>
>
>
> Fred


Yeah....what Fred said.  lol


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to