error in sample xBrowed.prg

error in sample xBrowed.prg

Postby mauri.menabue » Wed Apr 19, 2017 5:26 pm

Hi all,

I try this sample : xBrowed in samples folder of FWH
bat when save the changes made happes the following error :

Application
===========
Path and name: d:\fwh\samples\xbrowed.exe (32 bits)
Size: 3,764,736 bytes
Compiler version: Harbour 3.2.0dev (r1704151935)
FiveWin version: FWH 17.01
C compiler version: Borland/Embarcadero C++ 7.2 (32-bit)
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 34 secs
Error occurred at: 04/19/17, 19:10:25
Error description: Error BASE/1004 No exported method: EVAL
Args:
[ 1] = C

Stack Calls
===========
Called from: => (b)EVAL( 0 )
Called from: xbrowse.prg => TXBRROW:SAVE( 15177 ) --> Eval( ::oBrw:Unlock())
Called from: xbrowed.prg => (b)ROWEDIT( 87 )
Called from: button.prg => TBUTTON:CLICK( 179 )
Called from: control.prg => TBUTTON:HANDLEEVENT( 1685 )
Called from: window.prg => _FWH( 3325 )
Called from: => SENDMESSAGE( 0 )
Called from: dialog.prg => TDIALOG:COMMAND( 416 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: dialog.prg => TDIALOG:HANDLEEVENT( 914 )
Called from: window.prg => _FWH( 3325 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: dialog.prg => TDIALOG:ACTIVATE( 296 )
Called from: xbrowed.prg => MAIN( 49 )

TIA
Maurizio Menabue
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm

Re: error in sample xBrowed.prg

Postby nageswaragunupudi » Wed Apr 19, 2017 5:52 pm

Please replace line 46 of the xbrowed.prg
for the line
Code: Select all  Expand view
  @ 210, 10 BUTTON 'Edit'  SIZE 40,14 PIXEL OF oDlg ACTION RowEdit( oBrw:CurrentRow() )
 


Replace with this line
Code: Select all  Expand view
  @ 210, 10 BUTTON 'Edit'  SIZE 40,14 PIXEL OF oDlg ACTION RowEdit( oBrw:DataRow(,,.t.) )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: error in sample xBrowed.prg

Postby mauri.menabue » Wed Apr 19, 2017 8:30 pm

Now it's OK

Thank you
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 106 guests