[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1745: Undefined array key 0
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1745: Undefined array key 1
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1745: Undefined array key 2
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
FiveTech Software tech support forums • How do I know the field name in xbrowse:column - Page 2
Page 2 of 2

Re: How do I know the field name in xbrowse:column

Posted: Sun Dec 17, 2023 5:35 pm
by dutch
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

Re: How do I know the field name in xbrowse:column

Posted: Mon Dec 18, 2023 2:13 pm
by Maurizio
I don't know if this is correct but you can try with :nColOffSet

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