PDA

View Full Version : Setting Application Window title


holtgrewe
11-01-2008, 03:13 PM
This is the code I am using to set the Application Title.

appHdl = Application.GetWndHandle()
Window.SetText(appHdl, "New Application Title")

It changes back to the original title when I Page.Jump()...

Am I missing something or shouldn't the Application window title remained changed...?

Dermot
11-01-2008, 03:16 PM
You have to set it each time you open a new page. Just add the code as a function in Globals and then call the function in the On Preload of each page.

holtgrewe
11-01-2008, 03:23 PM
Thanks Dermot, I must be getting senile.
I could have sworn I only had to change it once for the project.
I can see the benefit both ways.
Thanks again.

ShadowUK
11-01-2008, 04:24 PM
It's not a bug, It's a feature. :lol

holtgrewe
11-02-2008, 01:10 AM
It's not a bug, It's a feature. :lol

Yeah, gotcha. It's one of those features I could do without.:)
In fact I'm changing the project. I will do without it.
It's a definate pain in the back side.