Welcome! Log In Create A New Profile

Advanced

[WM26] - Changing a Window Title

Posted by JP 
JP
[WM26] - Changing a Window Title
December 03, 2021 12:23PM
Hi All

Is it possible to change the window title at runtime in a WinDev Mobile app? I tried setting MyWindow..Title and MyWindow..Caption properties but that does not change the window title.

Thanks



Edited 1 time(s). Last edit at 12/03/2021 12:24PM by JP.
Re: [WM26] - Changing a Window Title
December 03, 2021 02:28PM
NextTitle() ?

Arie
JP
Re: [WM26] - Changing a Window Title
December 03, 2021 02:51PM
Hi Arie

Yes, NextTitle() modifies the next window you open. I want to modify the current window. I found you can use the .Title property but you must do so in the initialization event of the window.

Thanks
Re: [WM26] - Changing a Window Title
December 03, 2021 07:21PM
Hi JP,

The function CurrentTitle("New Title") will do the job.

Regards

Vassilis Boutsikas
JP
Re: [WM26] - Changing a Window Title
December 03, 2021 09:01PM
Hi Vassilis,

Again that only works if done in the Window's initialization routine. Then it works but once the window is initialized it seems the title cannot be changed ... ?
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: