How to return in GET after button?

Post Reply
John
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

How to return in GET after button?

Post by John »

Hi,

i want to return in a GET field after pressing a button (this button opens a modify record dialog from the button on the browse dialog).

This worked in an earlier version, but doesn't seem to do the trick anymore:

oGet:oJump:=oButton

Any thoughts?

Best regards,

John.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

Don't you mean the opposite ?

oButton:oJump:=oGet
regards, saludos

Antonio Linares
www.fivetechsoft.com
John
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Post by John »

Hi Antonio,

actually neither one does work...

I have a browse on a dialog, together with a GET field (input search string), a Search button and an Edit button (to edit the searched/found record).

What i want to accomplish is that the focus/cursor returns to the GET field after any of the buttons has been clicked.

Perhaps there is a better solution?

Saludos,

John.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

Have you tried doing oGet:SetFocus() ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
John
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Post by John »

That seems to work, thanks Antonio!
Post Reply