Error on Focus with button Click!?!?

Error on Focus with button Click!?!?

Postby JC » Tue Aug 04, 2009 7: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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

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

Postby JC » Tue Aug 04, 2009 7:54 pm

A example

Code: Select all  Expand view
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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

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

Postby Enrico Maria Giordano » Sat Aug 08, 2009 10:47 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests