How can I click on the header of a column in xbrowse and bring up a user defined function?
Thank you
Harvey
Harvey
How can I click on the header of a column in xbrowse and bring up a user defined function?
oBrw:aCols[xx]:bLClickHeader := {||yourfunction() }
HTH
thanks for the help. haven't tried it yet. Will tonite or tomorrow.
local aCols[24]Â
oBrw:aCols[8]:bLClickHeader := {||msgInfo("Works") }
 ADD column  to xbrowse oBrw;
  DATA {|| if(drill->title == repli('-', 30), repli(' ', 20), ;
  if(drill->title == repli('=', 30), repli(' ', 20), ;
  oBrw:oDbf:drill:Invoice)) };
  SIZE 50 LEFT HEADER "Invoice" COLOR CLR_BLACK,CLR_WHITEHarvey
Make sure oBrw:aCols[8]:bLClickHeader := {||msgInfo("Works") } is after column definition
HTH
Richard
perfect ![]()