Can I display PatNum and PatName in Title bar of a window?

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Can I display PatNum and PatName in Title bar of a window?

Post by wjstarck » Sat Sep 27, 2008 2:32 pm

Hello-

Is it possible to display PatNum and PatName in the title bar of a form's window, like we do in the Main Module (FormOpenDental)? If so, will it be printed when I print the contents of the window? I'm hoping to save some screen real estate in a very busy form...
Cheers,

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

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Can I display PatNum and PatName in Title bar of a window?

Post by jordansparks » Sat Sep 27, 2008 2:46 pm

It's very easy. Just set the Text value of the form. It's for one of your own forms, right?
Jordan Sparks, DMD
http://www.opendental.com

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

Re: Can I display PatNum and PatName in Title bar of a window?

Post by wjstarck » Sat Sep 27, 2008 3:25 pm

OK, I see now. Somehow I was expecting it to be more complicated...
Cheers,

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

Post Reply