Started by stephan_35 ·
2009-08-25 08:19 UTC ·
4 replies · SMF topic #883
stephan_35
2009-08-25 08:19 UTC
Hello,
I tried to set TitleBarText on Palette, it doesn't work , do nothing ;D
But return T ....
Redraw do nothing ...
Thanks ;)
owenwengerd
2009-08-25 13:08 UTC
This is a bug in the Autodesk palette implementation that causes it to ignore any changes after the palette is initially created. The only solution is to close and redisplay the palette after the title bar text is changed.
stephan_35
2009-08-25 14:26 UTC
author=owenwengerd link=topic=883.msg4392#msg4392 date=1251205722 wrote:
This is a bug in the Autodesk palette implementation that causes it to ignore any changes after the palette is initially created. The only solution is to close and redisplay the palette after the title bar text is changed.
So, i will change the title of my post ;)
Thanks
fred_tomke
2009-09-09 09:41 UTC
I have a solution for anyone who knows the new titlebar text already before showing the palette. Since the VarName already exist after loading the project file you can set the new titlebartext before (dcl_form_show ...). For me it's important because we use the same palette for different products. In this main palette the product name shall be added in the titlebar of the palette. Setting the titlebar text before showing the form can solve this.
Fred
stephan_35
2009-09-09 10:04 UTC
Thanks for your post !, it's work fine.
But i let this post to unsolved , because cannot change title after displayed palette.
Best regards.