Error BASE/1004 No exported method: CHANGE in XBROWSE

Error BASE/1004 No exported method: CHANGE in XBROWSE

Postby Horizon » Mon Oct 09, 2017 8:46 am

Hi,

This error occurs randomly. I could not track it. it shows xBrowse class.

any idea?


Code: Select all  Expand view  RUN
  Error description: Error BASE/1004  No exported method: CHANGE
   Args:
     [   1] = U  

Stack Calls
===========
   Called from:  => CHANGE( 0 )
   Called from: .\source\classes\XBROWSE.PRG => (b)TXBRWCOLUMN_SHOWBTNLIST( 13933 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:LBUTTONUP( 1984 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:LBUTTONUP( 675 )
   Called from: .\source\classes\LISTBOX.PRG => TLISTBOX:LBUTTONUP( 328 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
   Called from: .\source\classes\LISTBOX.PRG => TLISTBOX:HANDLEEVENT( 609 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
   Called from: .\TOb_Browse3.prg => TWDETAY:NEW( 458 )
   Called from: .\Kasa.prg => TAHSILAT_DAGITIM( 1965 )
   Called from: .\IcraKart.prg => (b)TAHSILAT_POPUP( 3938 )
   Called from: .\source\classes\MENU.PRG => TMENU:ACTIVATE( 1408 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:RBUTTONDOWN( 4776 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 14651 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
   Called from: .\TOb_Browse1.prg => TYK_DETAY:ACTIVATE( 1631 )
   Called from: .\TOb_Browse1.prg => TYK_LIST:GO_DETAY( 768 )
   Called from: .\IcraKart.prg => BUL_ICRAKART( 7851 )
   Called from: .\TOb_Browse1.prg => (b)GENBLOCK( 1313 )
   Called from: .\wLib_3.prg => METHOD_RUN1( 499 )
   Called from: .\TOb_Browse1.prg => TYK_LIST:GO_BUL( 792 )
   Called from: .\TOb_Browse1.prg => (b)TYK_LIST_NEW( 436 )
   Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK( 179 )
   Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1685 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
   Called from:  => SENDMESSAGE( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 424 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 922 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
   Called from: .\TOb_Browse1.prg => TYK_LIST:NEW( 482 )
   Called from: .\IcraKart.prg => ICRAKART( 102 )
   Called from: .\Master.prg => (b)DEFINE_RIBBON( 1544 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:CLICK( 717 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:LBUTTONUP( 917 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:HANDLEEVENT( 1575 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1037 )
   Called from: .\TApplication.prg => TAPPLICATION:ACTIVATE( 1042 )
   Called from: .\Master.prg => MAIN( 265 )

System
======
   CPU type: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz 1995 Mhz
   Hardware memory: 16350 megs

   Free System resources: 90 %
        GDI    resources: 90 %
        User   resources: 90 %

   Windows total applications running: 4
      1 ,                                                                                                    
      2 , D:\RRRO\OBJEKT\IcraW\FrSystH.dll                                                          
      3 GDI+ Window, C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9200.22084_none_a356b1c1fa3fbc
      4 Görev GeçiÅŸi, D:\KUTLUBAY\HUKUK\OBJEKT\IcraW\icraw.exe                                                            

Variables in use
================
   Procedure     Type   Value
   ==========================
   CHANGE
     Param   1:    O    Class: ERROR
   (b)TXBRWCOLUMN_SHOWBTNLIST
     Local   1:    U    
     Local   2:    U    
   TWINDOW:LBUTTONUP
     Param   1:    N    9
     Param   2:    N    107
     Param   3:    N    0
     Param   4:    O    Class: TLISTBOX
   TCONTROL:LBUTTONUP
     Param   1:    N    9
     Param   2:    N    107
     Param   3:    N    0
   TLISTBOX:LBUTTONUP
     Param   1:    N    9
     Param   2:    N    107
     Param   3:    N    0
     Local   1:    A    Len:    2
     Local   2:    L    .F.
   TCONTROL:HANDLEEVENT
     Param   1:    N    9
     Param   2:    N    107
     Param   3:    N    0
   TLISTBOX:HANDLEEVENT
     Param   1:    N    514
     Param   2:    N    0
     Param   3:    N    589931
     Local   1:    U    
   _FWH
     Param   1:    N    514
     Param   2:    N    0
     Param   3:    N    589931
   DIALOGBOXINDIRECT
     Param   1:    N    589931
     Param   2:    N    514
     Param   3:    N    0
     Param   4:    N    589931
     Param   5:    N    909
     Local   1:    O    Class: TLISTBOX
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Error BASE/1004 No exported method: CHANGE in XBROWSE

Postby Horizon » Tue Oct 10, 2017 5:15 pm

:?:
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Error BASE/1004 No exported method: CHANGE in XBROWSE

Postby nageswaragunupudi » Tue Oct 10, 2017 5:28 pm

The error means that at that time value of oBrw is NIL.
Regards

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

Re: Error BASE/1004 No exported method: CHANGE in XBROWSE

Postby Horizon » Wed Oct 18, 2017 9:37 am

Hi Mr. Rao,

My code is below.
Code: Select all  Expand view  RUN

    @ 45,5 XBROWSE oBrw OF oDlg;
        COLUMNS 1, 2, 3, 4;
        HEADERS "Ürün No", "Tutar", "Karşılık", "Açıklama" ;
      ARRAY TD_UrunNo ;
      PIXEL ;
      SIZE 180,250 UPDATE FASTEDIT
     
    if ! Empty( oCol := oBrw:oCol( "Ürün No" ) )
        oCol:nWidth := 150
        oCol:nDataStrAlign := AL_LEFT
        oCol:nHeadStrAlign := AL_LEFT
        oCol:nEditType        := EDIT_LISTBOX
    oCol:aEditListBound   := TD_UrunNoSec[1]
    oCol:aEditListTxt     := TD_UrunNoSec[2]
    endif


  oBrw:bPopUp := {|o|TD_PopUp(oBrw, o)}
  oBrw:nStretchCol    := STRETCHCOL_WIDEST
    oBrw:lHScroll        := .F.        
    oBrw:lRecordSelector := .f.
    oBrw:lFooter := .T.

    ADD TO oBrw AT 1 DATA oBrw:KeyNo() HEADER 'No' PICTURE '9999'

    oBrw:CreateFromCode()   
 


There is not any code to reset oBrw variable. When I click button in Ürün No variable, it displays the items. but when i choose one of them, it gives an error.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Error BASE/1004 No exported method: CHANGE in XBROWSE

Postby Horizon » Thu Oct 19, 2017 7:34 am

:?:
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Surasak and 41 guests