Subject Re: [IBO] IB_Grid col click
Author Markus Ostenried
At 11:06 Saturday, 30.07.2005 +1000, Alan McDonald wrote:
>I want to give programmatic control to users to sort the grid columns. At
>the moment everything works fine when I click the column title. But what
>method do I call to mimic a click on a particular column title?
>thanks
>Alan

Hi Alan,

if you have defined OrderingItems and -Links in your TIB_Query then you can
simply set the OrderingItemNo property of TIB_Query.
You can see its value change in the property editor of TIB_Query: When you
click on a column title the SpinEdit's value will change and reflect the
currently used number for OrderingItemNo.

HTH,
Markus