FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SBUTTON Flash while WHEN CLAUSE Fault
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

SBUTTON Flash while WHEN CLAUSE Fault

Posted: Sun Aug 16, 2009 04:19 PM
Dear All,

First of all, I would like to thank you Manuel Mercado for very nice library.

I've use Manuel Mercado library (SBUTTON.LIB 6.20). When I rebuild with xHarbour 1.2.1 and got the problem.

In the past, I can use bitmap or resource picture. When disable the button will unable to click.

Now when I use when clause and use resource or bitmap, the sbutton will be flash (blink)
Code (fw): Select all Collapse
               
   REDEFINE SBUTTON oBtm[49] ID 249 ;  
            PROMPT 'Special Flavor' ;
                RESOURCE 'PREPARE1', 'PREPARE1', 'PREPARE3', 'PREPARE4' ;
                WHEN      (TRN->TRN_PRNORD=0.and.TRN->TRN_VOID<>'V') ;
                ACTION  (oBrw[2]:SetFocus(),SpcFlavor(.F.,TRN->(RecNo())),ReBal( oSay, oBtn1, oBtn2 ),oBrw[1]:Refresh(),oBrw[2]:Refresh()) ;
                XP NOBORDER ;  
                FONT oFnt[7] ;
                COLOR {|oBtn| If( oBtn:lMouseOver, CLR_HRED, CLR_BLACK ) } ;  
                TEXT ON_BOTTOM
   REDEFINE SBUTTON oBtm[45] ID 245 ;  
                FILE 'BMP\UP.BMP' ;
                WHEN (nPage>1) ;
                ACTION MakeMenuBtn(GTR->GTR_CODE,oDlg,ACT->(ordNumber())=1,.T.,.F.) ;
                XP NOBORDER ; 
                COLOR {|oBtn| If( oBtn:lMouseOver, CLR_HRED, CLR_BLACK ) }


Thanks in advance.

Regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM

Re: SBUTTON Flash while WHEN CLAUSE Fault

Posted: Mon Aug 17, 2009 05:38 AM
Hello Dutch:
dutch wrote:Now when I use when clause and use resource or bitmap, the sbutton will be flash (blink)

Please contact me by email to send you the correction.

Best regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: SBUTTON Flash while WHEN CLAUSE Fault

Posted: Mon Aug 17, 2009 07:09 AM

Dear Manuel,

I have no your private email. Could you give me please.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM

Re: SBUTTON Flash while WHEN CLAUSE Fault

Posted: Mon Aug 17, 2009 11:17 AM
dutch wrote:I have no your private email. Could you give me please.

manuelmercado @ prodigy.net.mx
manuelmercado at prodigy dot net dot mx
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM

Re: SBUTTON Flash while WHEN CLAUSE Fault

Posted: Mon Aug 17, 2009 03:30 PM

Dear Manuel,

I have the same problem also.
Please send the solution to me also.

Regards,
Birol Betoncu

betoncu@birimnet.com

Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: SBUTTON Flash while WHEN CLAUSE Fault

Posted: Sat Aug 22, 2009 04:07 PM

Dear Birol Betoncu,

Manuel was fixed it and release V.6.3. I'm not quite sure that when Manuel will release the latest version. It look nice and more compatible.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion