aCols := { "CITY", "FIRST", "ZIP" }
cSave := oBrw:SaveState()
oBrw:ReArrangeCols( aCols )
oBrw:Report()
oBrw:RestoreState( cSave )
oBrw:Refresh()
nageswaragunupudi wrote:
- Code: Select all Expand view
aCols := { "CITY", "FIRST", "ZIP" }
cSave := oBrw:SaveState()
oBrw:ReArrangeCols( aCols )
oBrw:Report()
oBrw:RestoreState( cSave )
oBrw:Refresh()
obrw:Report (,,,,,,aCols)
#include "fivewin.ch"
function Main()
XBROWSER "CUSTOMER.DBF" TITLE FWVERSION ;
COLUMNS "FIRST", "CITY", "AGE", "SALARY" ;
SETUP( oBrw:cHeaders := { "NAME", "TOWN", "QTY", "AMOUNT" }, ;
oBrw:bRClicked := { |r,c,f,o| o:Report(,,,,,, { "AMOUNT", "QTY", "TOWN" } ) } )
return nil
nageswaragunupudi wrote:It works with 21.11
Try this small sample
- Code: Select all Expand view
#include "fivewin.ch"
function Main()
XBROWSER "CUSTOMER.DBF" TITLE FWVERSION ;
COLUMNS "FIRST", "CITY", "AGE", "SALARY" ;
SETUP( oBrw:cHeaders := { "NAME", "TOWN", "QTY", "AMOUNT" }, ;
oBrw:bRClicked := { |r,c,f,o| o:Report(,,,,,, { "AMOUNT", "QTY", "TOWN" } ) } )
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], Marc Venken and 33 guests