.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

changes to form not visible while debugging

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
marcwalen
527 Views, 2 Replies

changes to form not visible while debugging

Hi all,

 

I'm using visual studio 2010 and autocad 2012 x64. When I make (visual) changes to a form in the editor between debugging, for example the width of the form, the changes aren't visible on next debugging, it's still the same width as it was before. Same thing for font size, when changed the changes are not showing when debugging again. Almost seems like autocad remebers the previous layout of the form. A new control added between debugging shows up fine. Can anyone tell me what's going on and how to resolve this.

2 REPLIES 2
Message 2 of 3

AutoCAD remembers the size and position of your form when you use ShowModalDialog or ShowModelessDialog.

 

You can remove the entry from the registry under this key:

 

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\Rxx.x\ACAD-XXXX:XXX\Profiles\<ProfileName>\Dialogs

 

Under that key, there will be a key with your form's fully-qualified class name, that contains the persisted data.

 

 

Message 3 of 3

Thanks, that solved most of the issues. The font not updating turned out to be an error in my code.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost