Change TitleBarText of dockable dialogues not possible?

Started by Peter2 · 2018-01-17 16:26 UTC · 2 replies · SMF topic #2563

Ten years ago Fred wrote here:
author=Fred Tomke link=topic=412.msg1846#msg1846 date=1219907392 wrote:
Hello,

before adding a bug report I only want to know if palette is designed like other forms that titlebar text can be changed at runtime. Maybe it is not possible with palettes by design.

(dcl_form_settitlebartext myform "NewText") has no effect at runtime.

Fred


I want to confirm (to ask) for the same behaviour of Dockable Window.
I have a "dockable window" and a "modal dialogue" and this code:


; modal
(dcl-Control-SetTitleBarText siaAusmass/dlg_einstellungen neustring)

; dockable
(dcl-Control-SetTitleBarText siaAusmass/main_dock neustring)

Modal works fine with settings for Buttons and other controls, but not for Titlebar.

Correct?
Or is there a way to solve it?

Peter
Support for modifying the title bar text at runtime was never implemented for control bars. I've added it now for the next build.
author=owenwengerd link=topic=2563.msg12703#msg12703 date=1516234017 wrote:... I've added it now for the next build.

Great. Thanks Owen :)