Antonio,
Using You exe-file it works but recompiled, xBrowse returns a error on
---------------
static function BrwBtnBar( oBrw, oWnd )
local oBar
DEFINE BUTTONBAR oBar OF oWnd 2007 SIZE 70, 70
DEFINE BUTTON OF oBar PROMPT "New" RESOURCE "add" ;
ACTION
oBrw:EditSource( .T. )
DEFINE BUTTON OF oBar PROMPT "Edit" RESOURCE "edit" ;
ACTION
oBrw:EditSource()
DEFINE BUTTON OF oBar PROMPT "Delete" RESOURCE "del"
return oBar
---------------
Application
===========
Path and name: I:\F_INVOICE\INVOICES.exe (32 bits)
Size: 5,994,496 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
FiveWin Version:
FWHX 16.08
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 4 secs
Error occurred at: 27/09/2016, 17:59:13
Error description: Error BASE/1004 Class: 'NIL' has no exported method:
EDITSOURCE
Args:
[ 1] = U
[ 2] = L .T.
Stack Calls
===========
Called from: => EDITSOURCE( 0 )
Called from: .\INVOICES.PRG => (b)BRWBTNBAR( 728 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 658 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 894 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1834 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3305 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1042 )
Called from: .\INVOICES.PRG => MAIN( 31 )
regards
Uwe