I made a small palette (resizeable, dock all) and can it dock everywhere. Every position is remembered and restored when I restart Acad - nearly ...
When I dock it beneath or at the right of the command-line, then it is restored above the command-line (between drawing-area and command-line).
Is it possible to restore it right of the command-line?
(The lisp which calls the palette is started via the start-group (i hope this is the right name in English).
If the problem is due to the command line loading after the palette loads, then perhaps you can delay loading of the palette via (dcl_DelayedInvoke) (http://www.opendcl.com/HelpFiles/index.php?page=Reference/Function/DelayedInvoke.htm).
Yes, it was a timing problem with the command-line. "delayedinvoke" is fine, thanks.
But it is strange:
With every new drawing and new "delayed show of palette" the palette (which is docked right of the command-line) increases its width. Only 2-3 mm every time, but one time the command-line shrinked to 4 cm (2") and the palette took the rest.
I'm not sure about the changing width. As a test, can you reproduce that when docking on the left, or in another position on the screen? It might be an AutoCAD bug, but requires further testing to determine the cause.
JFYI
Quote from: Peter2 on October 16, 2013, 12:07:50 AM
Yes, it was a timing problem with the command-line. "delayedinvoke" is fine, thanks....
Five years later I'm happy to find my own posting again and I have to confirm - yes, with current software-versions:
- same problem, same solution.