Page 1 of 1

Warning BASE/1004 Message not found: TBTNBMP:GETLIST?

Posted: Thu Sep 17, 2015 9:40 am
by kim yong woo
Dear Mr. Antonio,

Would you kindly show me how I can use TBtnBmp with method?

On my prg,

Code: Select all

  
   REDEFINE BUTTON ID 220 OF oClient     ACTION ::GetList(oBrw, aData, cGet[1], cGet[2] )                        //OK
   REDEFINE BTNBMP oBtn[2] ID 142 OF oClient   FILE "..\bitmaps\find1.bmp"    ACTION  ::GetList(oBrw, aData, cGet[1], cGet[2] )  //Error
 
Error.log file..

Code: Select all

Application
===========
   Path and name: E:\prg\kt\exe32\OpenX.exe (32 bits)
   Size: 2,892,288 bytes
   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
   FiveWin  Version: FWHX 15.05
   Windows version: 6.2, Build 9200 

   Time from start: 0 hours 0 mins 2 secs 
   Error occurred at: 09/17/15, 18:34:51
   Error description: Warning BASE/1004  Message not found: TBTNBMP:GETLIST
Is it not allowed to use TBtnBmp with ::Method?

Or was there mistake in using TBtnBmp?

Thanks always..

Y.W.Kim

Re: Warning BASE/1004 Message not found: TBTNBMP:GETLIST?

Posted: Thu Sep 17, 2015 10:22 am
by Antonio Linares
Kim,

local oThis := Self

REDEFINE BTNBMP oBtn[2] ID 142 OF oClient FILE "..\bitmaps\find1.bmp" ACTION oThis:GetList(oBrw, aData, cGet[1], cGet[2] )

Re: Warning BASE/1004 Message not found: TBTNBMP:GETLIST?

Posted: Thu Sep 17, 2015 1:55 pm
by kim yong woo
Thanks..Mr.Antonio...