FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error on BTNBMP
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Error on BTNBMP
Posted: Wed Apr 24, 2019 09:46 AM






after pressing on many btnbmp and displaying the popup menu I had this error
He doesn't always do it every 20/30 times



Code (fw): Select all Collapse
Application
===========
   Path and name: C:\Work\Errori\image_su_btnbmp\test.Exe (32 bits)
   Size: 3,959,296 bytes
   Compiler version: Harbour 3.2.0dev (r1703231115)
   FiveWin  version: FWH 19.03
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.2, Build 9200 

   Time from start: 0 hours 0 mins 33 secs 
   Error occurred at: 24-04-2019, 11:40:46
   Error description: Error BASE/1004  Metodo non disponibile: END
   Args:
     [   1] = U   

Stack Calls
===========
   Called from:  => END( 0 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:SHOWPOPUP( 2046 )
   Called from: test.prg => (b)SHOW_BEACH( 375 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 697 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 983 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1791 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 2006 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3546 )
   Called from:  => DIALOGBOXINDIRECT( 0 )



I call the popup

Code (fw): Select all Collapse
 aBtn [n]: baction: = {| Self | :: ShowPopUp ({| oBtn | BtnPopMenu (oBtn, aBtn, n)})}



or I also tried directly from the BTNBMP command

Code (fw): Select all Collapse
@ ny*numero, nx*numero-20 BTNBMP aBtn[ n ] RESOURCE GiveBmp(nStatus) ; 
      SIZE OMB_H,OMB_W PIXEL OF oDlg ;
      FLAT TOP COLOR CLR_WHITE,CLR_GREEN NOBORDER
     ACTION ::ShowPopUp( { |oBtn| BtnPopMenu( oBtn,aBtn,n ) } )


BUT MAKE THE SAME ERROR
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Error on BTNBMP
Posted: Wed Apr 24, 2019 11:16 AM
Hello Silvio,

I was Easter on the Adriatic Sea in Jesolo and have seen that most beaches are opening these days.


Best regards,
Otto



Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Error on BTNBMP
Posted: Wed Apr 24, 2019 11:45 AM

Exactly I'm already late

the summer season is about to begin.

I had to convert my application before Easter.

I don't remember who advised me on this forum to use tdatabase and consequently tdata to convert my application

from single user to multi users

but it was a catastrophe because tdatabase gave me only problems and continues to give them to me !!!

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion