OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Peter2 on January 17, 2018, 08:26:14 AM

Title: Change TitleBarText of dockable dialogues not possible?
Post by: Peter2 on January 17, 2018, 08:26:14 AM
Ten years ago Fred wrote here:
Quote from: Fred Tomke on August 28, 2008, 12:09:52 AM
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
Title: Re: Change TitleBarText of dockable dialogues not possible?
Post by: owenwengerd on January 17, 2018, 04:06:57 PM
Support for modifying the title bar text at runtime was never implemented for control bars. I've added it now for the next build.
Title: Re: Change TitleBarText of dockable dialogues not possible?
Post by: Peter2 on January 18, 2018, 02:24:01 AM
Quote from: owenwengerd on January 17, 2018, 04:06:57 PM... I've added it now for the next build.
Great. Thanks Owen :)