Error Cannot Change Visible In Onshow Or Onhide
AlertSite API Performance Monitoring Software Testing TestComplete Automated Testing Platform TestComplete Desktop TestComplete Web TestComplete Mobile TestLeft Functional Testing for Developers QAComplete Test Management LoadComplete Load Testing CrossBrowserTesting Cloud Testing Platform Monitoring AlertSite Application Quality & Performance Monitoring Code Collaboration Collaborator Code Review & Document Review Code Optimization AQtime Pro Performance Profiling Free Tools Collaborator LoadComplete Open Source SoapUI Swagger Plugins Support Support when you need it Browse our support portal SmartBear technical representatives are always ready to help with your product needs. Know what you're looking for? Downloads User Guides How To Tutorials Learn QA Screencasts/Videos General Support Forums Troubleshooter FAQs Product Versions Online Help Resources Company Company About SmartBear Leadership Customers Careers Contact Us News Press Releases Industry News Events Awards Media Kit Community SmartBear Blog Product Forums SmartBear Developer Network Support Social Media Twitter Facebook YouTube LinkedIn Google Plus Buy Contact Blog Community Login Go to SmartBear Community Go to SmartBear Products AlertSite QAComplete Go to SmartBear Licensing System Register · Sign In · Help SmartBear Community : TestComplete : General Discussions : Cannot change visible in onshow or onhide General Discussions Go To SmartBear Community Community Feedback and Suggestions Community Matters Blog SmartBear Developer Network Forum for developers building plugins for SmartBear's API products TestComplete Extensions Forum for discussions about using the Collaborator API AlertSite AlertSite AlertSite Community Edition AlertSite Feature Requests AQtime AQtime AQtime Feature Requests Collaborator Collaborator Collaborator Feature Requests LoadComplete LoadComplete LoadComplete Feature Requests QAComplete and ALMComplete QAComplete and ALMComplete QAComplete Feature Requests Ready! API Platform and Tools Service Virtualization/Virtual Server SoapUI NG LoadUI NG Ready! API Feature Requests Ready! API TestServer TestComplete General Discussions Desktop Testing Functional Web Testing Mobile Application Testing TestComplete Feature Requests Open Source Tools SoapUI Open Source SoapUI Feature Requests SwaggerHub SwaggerHub SwaggerHub Feature Request TestLeft TestLeft TestLeft Feature Requests Commu
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up https://community.smartbear.com/t5/General-Discussions/Cannot-change-visible-in-onshow-or-onhide/td-p/75764 Error “Cannot change Visible in OnShow or OnHide” in Delphi IDE up vote 2 down vote favorite I have a very strange problem with the Delphi 2006 IDE. If the IDE is minimized, and the PC is locked. I return to the pc, unlock it and maximize the IDE, I sometimes get the error "Cannot change Visible in OnShow or OnHide". If this happens, http://stackoverflow.com/questions/161187/error-cannot-change-visible-in-onshow-or-onhide-in-delphi-ide I have to kill the IDE with the taskmanager. Is there anybody out there who has the same problem? And if possible a solution? I suspect that some third party components are involved, but my coworkers never experience this error. delphi ide share|improve this question edited Oct 2 '08 at 21:01 Jim McKeeth 26.9k1997166 asked Oct 2 '08 at 7:19 Toon Krijthe 41.5k19110176 Which Delphi version? –Jeroen Wiert Pluimers Mar 6 '10 at 9:47 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote accepted Yes I have noticed the same problem when using Terminal Servers. I use GExperts. If you can reproduce the problem you should report it on http://qc.codegear.com/ share|improve this answer answered Oct 2 '08 at 10:46 Lars Truijens 31.3k483109 (Un)fortunately it does not happen that often. About once each month with irregular intervals. –Toon Krijthe Oct 2 '08 at 12:18 @Lars, as a dutch delphi developer, are you joining the SDN conference next week? –Toon Krijthe Oct 2 '08 at 12:20 Not this year. Maybe again next year. I assume you do?
while bringing up my application (This all occurs prior to Application.run) Usually, there are no issues, but sometimes, I get an exception: Einvalid Operation - 'Cannot change visible in OnShow or OnHide' I have no event http://www.delphigroups.info/2/fe/408402.html handlers set for either of these events. I get this error in this code (again, only sometimes - have not been able to determine the scenario): Procedure ShowMsg( s : string); begin if not assigned(fMsgWnd) then fMsgWnd := tfMsgWnd.create(application); fMsgWnd.memoStatus.lines.add(s); fMsgWnd.Show; <= exception is generated here. Application.ProcessMessages; end; For a test I called .show twice to ensure it was safe to do so while it was showing and it worked so error cannot why would it be raising an exception occasionally? What can I check to see if it is already showing before calling show? (Or do I need to keep track of it myself?) Thanks, -Eric Team Delphi Developer Tue, 11 Mar 2008 03:04:44 GMT Re:'Cannot change visible in OnShow or OnHide' error QuoteIn article <4332ae2...@newsgroups.borland.com>, Eric wrote: > I have a simple form with a memo that I update with while > bringing up my application (This error cannot change all occurs prior to > Application.run) > Usually, there are no issues, but sometimes, I get an exception: > Einvalid Operation - 'Cannot change visible in OnShow or OnHide' > I have no event handlers set for either of these events. I get > this error in this code (again, only sometimes - have not been > able to determine the scenario): > Procedure ShowMsg( s : string); > begin > if not assigned(fMsgWnd) then > fMsgWnd := tfMsgWnd.create(application); > fMsgWnd.memoStatus.lines.add(s); > fMsgWnd.Show; <= exception is generated here. > Application.ProcessMessages; > end; > For a test I called .show twice to ensure it was safe to do so > while it was showing and it worked so why would it be raising an > exception occasionally? No idea. The exception is created if some code executing in response to a CM_SHOWINGCHANGED message tries to show or hide the form. You Application.ProcessMessages call opens the doors for such madness