Yes - Richard makes a good point. But, since I know all the objects I
create will have a visible property - and I will be Testing the screen
before giving it to the QA Techs to install - I'm sure I won't have a
problem that causes an error - at least in regards to this issue - so I
figured I also don't need the Catch stuff...

-K-

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of MB Software Solutions, LLC
Sent: Thursday, June 21, 2012 11:25 AM
To: [email protected]
Subject: Re: Accessing Form Objects Numerically...

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



[excessive quoting removed by server]

_______________________________________________
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/289ea162f5642645b5cf64d624c66a140e260...@us-ny-mail-002.waitex.net
** 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