Changing cursor foucus of patient search form

This forum is for programmers who have questions about the source code.
Post Reply
alhalwachi
Posts: 74
Joined: Fri Apr 02, 2010 2:26 pm

Changing cursor foucus of patient search form

Post by alhalwachi » Wed Mar 30, 2011 2:57 pm

Dear All

I noticed that cursor is set into the "lasst Name" text box whn you load the "Patient Select" form (FormPatientSelect.cs) by default. Can i change the focus to anothe field, say, the contact number for example?

Thanks

User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Changing cursor foucus of patient search form

Post by wjstarck » Wed Mar 30, 2011 6:22 pm

Do you mean programmatically?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

alhalwachi
Posts: 74
Joined: Fri Apr 02, 2010 2:26 pm

Re: Changing cursor foucus of patient search form

Post by alhalwachi » Fri Apr 01, 2011 9:16 am

I don't mind if it's a code change, any ideas?

User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Changing cursor foucus of patient search form

Post by wjstarck » Fri Apr 01, 2011 10:32 am

It looks to me like last name takes focus because it is first in the tab order. So if you wanted another field to take focus first, the easiest way to do it would be to just change its tab order in Properties to 0 (the field you want is currently eighth in the tab order). Then change the tab order of the other fields so there is some logical progression through the fields for the user.

I'm still not sure I understand what you want though. Are you wanting to know how to do it programmatically, because you are wanting tp change the source code yourself, or are you just wishing the tab order was different (feature request)?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

alhalwachi
Posts: 74
Joined: Fri Apr 02, 2010 2:26 pm

Re: Changing cursor foucus of patient search form

Post by alhalwachi » Mon May 09, 2011 8:16 am

I changed the tab order through properties of the text field and it worked perfectly.

Thank you very much,
Regards;

Post Reply