Hi,
How to put the pointer in the respective cell of the column clicked on his head?
I have a xbrowse with 20 columns, 8 visible, and two frozen.
If the pointer is in column 10 and I click on the header of the 12, how do I move the pointer to the respective cell in column 12?
I have this code, but it only works on the first 8 columns visible. If I move the cursor manually to the 15, and then I click on 13, the pointer goes haywire.
Thanks.
How to put the pointer in the respective cell of the column clicked on his head?
I have a xbrowse with 20 columns, 8 visible, and two frozen.
If the pointer is in column 10 and I click on the header of the 12, how do I move the pointer to the respective cell in column 12?
I have this code, but it only works on the first 8 columns visible. If I move the cursor manually to the 15, and then I click on 13, the pointer goes haywire.
:nMarqueeStyle := MARQSTYLE_HIGHLCELL
For n := 1 to Len(oBrw:aCols)
if oBrw:aCols[n]:nCreationOrder >= 3
oBrw:aCols[n]:bLClickHeader := {|r,c,f,o| ;
oBrw:nColSel := o:nCreationOrder, oBrw:Refresh(),; //mover el cursor a esa col
oBrw2:Refresh(.t.) }
endif
NextThanks.
Francisco J. Alegría P.
Chinandega, Nicaragua.
Fwxh-MySql-TMySql
Chinandega, Nicaragua.
Fwxh-MySql-TMySql