|
-
Aug 16th, 2007, 10:59 AM
#1
[RESOLVED] Identify whether an object has a named property
I'm iterating through the controls collection, so I'm using On Error Resume Next to handle when the property I'm looking at (eg: TabIndex) doesn't exist for that control.
Just wondering if there was a better or easier way to determine if a named property exists. Something like:
If HasProperty(ctl, "TabIndex") Then
...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|