Bug in the Autodesk palette with dcl_Control_SetTitleBarText

Started by stephan_35, August 25, 2009, 01:19:16 AM

Previous topic - Next topic

stephan_35

Hello,

I tried to set TitleBarText on Palette, it doesn't work , do nothing  ;D

But return T  ....

Redraw do nothing ...

Thanks ;)
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

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

Quote from: owenwengerd on August 25, 2009, 06:08:42 AM
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
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Thanks for your post !, it's work fine.

But i let this post to unsolved , because cannot change title after displayed palette.

Best regards.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql