FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error on Focus with button Click!?!?
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM

Error on Focus with button Click!?!?

Posted: Tue Aug 04, 2009 07:50 PM

Dear Antonio and friends!

I have a new strange behavior in my app... On FWH 2.8, when I clicked on a button or press enter, I set a focus for a another get and this work very fine.

When I updated to new FWH 9.06, this not works very fine... Only when I clicked on button, it's work! On press enter, not works!

Please, help me!

Peace and lighting!

JĂșlio CĂ©sar M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM

Re: Error on Focus with button Click!?!?

Posted: Tue Aug 04, 2009 07:54 PM
A example

Code (fw): Select all Collapse
IF CHK_PARCELAS( nValorDocumento, oGets, lClickBotaoAlterar )
   oButtons[1]:Click()
ELSEIF nParcelas <> 1
   oLbx:SetFocus()
ELSE
   oButtons[7]:setFocus()  // <-Here, it's don't goes to oButtons[7]... Goes to oButtons[2] ???? :(
ENDIF
Peace and lighting!

JĂșlio CĂ©sar M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Error on Focus with button Click!?!?

Posted: Sat Aug 08, 2009 10:47 AM

Please build a reduced and self-contained sample of the problem.

EMG

Continue the discussion