Page 1 of 1

Error on Focus with button Click!?!?

Posted: Tue Aug 04, 2009 7:50 pm
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!

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

Posted: Tue Aug 04, 2009 7:54 pm
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

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

Posted: Sat Aug 08, 2009 10:47 am
by Enrico Maria Giordano
Please build a reduced and self-contained sample of the problem.

EMG