Error on Focus with button Click!?!?

Post Reply
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Error on Focus with button Click!?!?

Post by JC »

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
Contact:

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

Post by JC »

A example

Code: Select all

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
Post Reply