On 12/29/2013 03:45 AM, Martin Schreiber wrote: > On Saturday 28 December 2013 23:44:42 Patrick Goupell wrote: >> Hello Martin, >> >> I have a screen grid with several columns of data. The fixedrows. row . >> captions are set. >> >> Is there a way to detect a mouse click on the fixed row caption? >> > Use t*grid.oncellevent: > " > procedure tmainfo.celleventexe(const sender: TObject; > var info: celleventinfoty); > begin > if iscellclick(info) then begin > //do something depending on info.cell > end; > end; > " >> I want to be able to control the sort order of the screen grid data >> based upon a specific column caption being clicked. >> > Activate <t*grid>.fixrows[<n>].options dco_colsort and <t*grid>.optionsgrid > og_sorted. > > Martin > I am already using the grid oncellevent for something else.
I was hoping to use an oncellevent on the fixedrows.row [-1] caption cell. I will try another approach for my program. Patrick ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

