FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in TBtnBmp?
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in TBtnBmp?
Posted: Fri Feb 04, 2011 11:30 AM
What is the reason for these lines in TBtnBmp:LostFocus() method?

Code (fw): Select all Collapse
   if ::lPressed
      ::lPressed := .f.
      ::Refresh()
   endif


A negative effect is that a pressed button (using GoDown() method) switch to non-pressed status on lostfocus.

Can I remove the above lines without side effects?

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Bug in TBtnBmp?
Posted: Fri Feb 04, 2011 10:24 PM

I just tried to comment out those lines and now the problem seems to be fixed. I can't see any side effects. Can I apply this fix in the FWH SVN?

EMG

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Bug in TBtnBmp?
Posted: Tue Mar 15, 2011 03:26 AM

Bumped up for Daniel

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Bug in TBtnBmp?
Posted: Tue Mar 15, 2011 04:21 AM

Thanks Enrico

already fixed and updated to SVN

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Bug in TBtnBmp?
Posted: Tue Mar 15, 2011 08:48 AM

Thank you Daniel! :-)

EMG

Continue the discussion