Window title

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Window title

Postby maria.kyselova » Tue Dec 04, 2012 4:51 am

Hi guys,

There is a problem setting the window title.
I do controller.getWindow().title = "whatever"; in onRecordSelection and on firstShow but the title flickers quickly when it shows the first time and goes back to the normal form name.

Sample solution attached.
In it, click the button on the first form and a window will pop up with the form name instead of the title (the title is supposed to be the 'employeecode' field value from a record, so make sure you have data or change the code to a fixed string for the title).
So, when the window is brought up the first time, you can see in the console that the window title is set correctly but it displays the form name anyway :shock:
When you start moving from record to record then it is fixed but the first time the window is popped - it's not working.

Support case created SVY-3503

Cheers,
Maria
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Window title

Postby lvostinar » Mon Jan 28, 2013 4:57 pm

maria.kyselova wrote:Hi guys,

There is a problem setting the window title.
I do controller.getWindow().title = "whatever"; in onRecordSelection and on firstShow but the title flickers quickly when it shows the first time and goes back to the normal form name.

Sample solution attached.
In it, click the button on the first form and a window will pop up with the form name instead of the title (the title is supposed to be the 'employeecode' field value from a record, so make sure you have data or change the code to a fixed string for the title).
So, when the window is brought up the first time, you can see in the console that the window title is set correctly but it displays the form name anyway :shock:
When you start moving from record to record then it is fixed but the first time the window is popped - it's not working.

Support case created SVY-3503

Cheers,
Maria


Will be fixed in 6.1.4 .
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Window title

Postby maria.kyselova » Mon Feb 04, 2013 12:52 am

lvostinar wrote:
maria.kyselova wrote:Hi guys,

There is a problem setting the window title.
I do controller.getWindow().title = "whatever"; in onRecordSelection and on firstShow but the title flickers quickly when it shows the first time and goes back to the normal form name.

Sample solution attached.
In it, click the button on the first form and a window will pop up with the form name instead of the title (the title is supposed to be the 'employeecode' field value from a record, so make sure you have data or change the code to a fixed string for the title).
So, when the window is brought up the first time, you can see in the console that the window title is set correctly but it displays the form name anyway :shock:
When you start moving from record to record then it is fixed but the first time the window is popped - it's not working.

Support case created SVY-3503

Cheers,
Maria


Will be fixed in 6.1.4 .


Thanks, Laurian!
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 10 guests