Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
What does object ThisApplication.OpenDocumentsDisplay?
I did not see its effect.
Solved! Go to Solution.
Hi,
What does object ThisApplication.OpenDocumentsDisplay?
I did not see its effect.
Solved! Go to Solution.
Hi mikazakov,
As far as I can tell, it controls the recent documents list:
I used this code to toggle it (using iLogic):
If ThisApplication.OpenDocumentsDisplay = True Then ThisApplication.OpenDocumentsDisplay = False Else ThisApplication.OpenDocumentsDisplay = True End If
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Just a quick little tidbit.
I'm reading a book called Becoming a better programmer, but am not a programmer.
It suggests avoiding redundancy and keeping things simple and free of loops if possible, so to do a toggle for a boolean property, it suggests using:
ThisApplication.OpenDocumentsDisplay = Not ThisApplication.OpenDocumentsDisplay
It also creates less lines of code which means less to debug in the future!
Best of luck in your code escapades!
@MechMachineMan wrote:
Just a quick little tidbit.
I'm reading a book called Becoming a better programmer, but am not a programmer.
It suggests avoiding redundancy and keeping things simple and free of loops if possible, so to do a toggle for a boolean property, it suggests using:
ThisApplication.OpenDocumentsDisplay = Not ThisApplication.OpenDocumentsDisplayIt also creates less lines of code which means less to debug in the future!
Best of luck in your code escapades!
Thanks for the tip, Justin!
I just ordered that book (based on your recommendation), so hopefully it'll help me break some bad habits, no promises though.