I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.
Maurizio wrote:I use
cField := oBrw:aCols[oBrw:nColSel]:cExpr
Maurizio
Maurizio wrote:I use
cField := oBrw:aCols[oBrw:nColSel]:cExpr
Maurizio
Code: Select all | Expand
oBrw:bLDblClick := <||
Local n := oBrw:nColSel
if oBrw:nColOffSet > 1
n+= oBrw:nColOffSet - 1
endif
? oBrw:aCols[n]:cExpr
Return nil
}
Maurizio wrote:I don't know if this is correct but you can try with :nColOffSet
MaurizioCode: Select all | Expand
oBrw:bLDblClick := <|| Local n := oBrw:nColSel if oBrw:nColOffSet > 1 n+= oBrw:nColOffSet - 1 endif ? oBrw:aCols[n]:cExpr Return nil }
Trydutch wrote:Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.Maurizio wrote:I use
cField := oBrw:aCols[oBrw:nColSel]:cExpr
Maurizio
Code: Select all | Expand
cField := oBrw:SelectedCol():cExpr
nageswaragunupudi wrote:Dear Master,dutch wrote:Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.Maurizio wrote:I use
cField := oBrw:aCols[oBrw:nColSel]:cExpr
Maurizio
It works correctly. Thx.
TryCode: Select all | Expand
cField := oBrw:SelectedCol():cExpr