Subject Re: [IBO] ib_grid click
Author Thomas Breitkreuz
nxciro schrieb:

>
> Hello
>
> d7 ibo 4.3aa
>
> How to code a click on the first column title of an ib_grid ?
>
> this is what I try
>
> IB_GRID1.OnTitleClick(self,1,1,MBLEFT,[SSSHIFT]);
>
> an onclick event is triggered but the expected
> ordering action of the dataset does not happen
> If I click with the mouse on the title of the
> first column then ordering works fine.
> (Orderinglinks etc are correctly defined in the ib_query
> which feeds the grid )
>
> Thanks
> Nx
>
>
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> <http://us.ard.yahoo.com/SIG=129slobrc/M=315388.5529720.6602079.3001176/D=groups/S=1705007183:HM/EXP=1098943115/A=2372354/R=0/SIG=12id813k2/*https://www.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F21004SS>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/IBObjects/
>
> * To unsubscribe from this group, send an email to:
> IBObjects-unsubscribe@yahoogroups.com
> <mailto:IBObjects-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
Hello!

Do you want to change the ordering of the dataset only?

Try using the OrderingItemNo - property of the dataset.
The correct itemno cam be found looking at the orderingitems.
If you use a negative integer the dataset is sorted the other way.

Hope it will help you

Thomas