Focus in TextBox



Hello:
It wanted help with this situation, I have looked for and proven throughout
and what encounter is the same solution and it does not work to me. I use a
Grid class to which entrance the values to update the table and I keep the
data from a button in the toolbar which calls a method in the form where
instacio grid, but it does not work to me, the value that entrance is not
updated, however if I place a button that does to me the same within the
form if it updates to me. I know that the problem is not of the method
because it works to me well. The solution that they give me is to do this
but in my case it does not work to me:
IF TYPE('THIS.ACTIVECONTROL') = 'O' AND;
! ISNULL(THIS.ACTIVECONTROL) AND;
PEMSTATUS(THIS.ACTIVECONTROL,'SetFocus',5)
THIS.ACTIVECONTROL.SETFOCUS
ENDIF

greetings


.


Loading