R14 Autolisp:
Two questions about a program I'm building.
1.) When I use menuunload to unload the previous toolbar menu and menuload to load it, the toolbar is "hidden" and I have to right click on a toolbar and turn it "on". It just started doing this as it worked fine the first several times I used it. (write-line "ID_LAYERS_DISPLAY_0 [_Toolbar(\"LAYERS_DISPLAY\", _Floating, _Show, 100, 300, 1)]" mfl) This is the line that defines the toolbar. Am I missing something here?
2.)How do I embed the newline character when I need double quotes? (princ \" \n Layer list string too long.\") , this does *not* work, neither does: (princ \" \\n Layer list string too long.\")
TIA
Bill
Two questions about a program I'm building.
1.) When I use menuunload to unload the previous toolbar menu and menuload to load it, the toolbar is "hidden" and I have to right click on a toolbar and turn it "on". It just started doing this as it worked fine the first several times I used it. (write-line "ID_LAYERS_DISPLAY_0 [_Toolbar(\"LAYERS_DISPLAY\", _Floating, _Show, 100, 300, 1)]" mfl) This is the line that defines the toolbar. Am I missing something here?
2.)How do I embed the newline character when I need double quotes? (princ \" \n Layer list string too long.\") , this does *not* work, neither does: (princ \" \\n Layer list string too long.\")
TIA
Bill