On 6/21/2012 11:10 AM, Kurt Wendt wrote:
> What kind of Non-Visual control? You mean - like a Timer object?
>
> But, on this form - it will all be standard stuff, labels, text boxes,
> buttons and a Grid. All standard Visual controls, which will of course
> all have a Visible property.
>
> Again - I'm just trying to keep along the lines of the KISS rule...


Richard makes a good "defensive programming" point.  You should at least 
consider a TRY/CATCH block around the setting of the property so it 
handles/ignores any object that doesn't have a Visible property.


-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to