Hi all, I have an issue when double clicking an xBrowse header. If I run the program below the codeblock bLClickHeader is executeted on start of the dialog. ( no click at all ) But when I click the header the codeblock is not fired. What could be wrong? regards, Detlef #include ...
Hello RAO I have an xbrowse with AutoSort: = .t. and bLClickHeader on some columns. Is it possible not to execute setorder on columns that have bLClickHeader? Regards Maurizio
... || TRANSFORM( oSumaTotal,"999,999,999") } Endif next oFld:aDialogs[ I ]:bInit := {|| oBrw[I]:aCols[1]:SetOrder(), Eval(oBrw[I]:aCols[1]:bLClickHeader) } *** ESTO 3 NO ME FUNCIONAN PARA MOSTRAR LO Q BUSCO SE CAE * @ 20,20 SAY oBrw[I]:oSeek VAR oBrw[I]:cSeek SIZE 150,20 PIXEL OF oDlg COLOR ...
thanks RAO I must insert it on click on header ? I tried with :bLClickHeader := { ||changeBrw(oBrw,aHdrs,oCbx) } #include 'fivewin.ch'#include 'ord.ch'#include 'xbrowse.ch'#include 'hbcompat.ch'REQUEST DBFCDX//----------------------------------------------------------------------------//function ...
... is an error that you should fix If you use the header name and not the number of the column, Xbrowse is using the correct field. oBrw4:kleuren:bLClickHeader := { |r,c,f,oCol| head_col(oCol:Value),oBrw:refresh() } oBrw4:maten:bLClickHeader := { |r,c,f,oCol| head_size(oCol:Value),oBrw:refresh() ...
... is an error that you should fix If you use the header name and not the number of the column, Xbrowse is using the correct field. oBrw4:kleuren:bLClickHeader := { |r,c,f,oCol| head_col(oCol:Value),oBrw:refresh() } oBrw4:maten:bLClickHeader := { |r,c,f,oCol| head_size(oCol:Value),oBrw:refresh() ...