|
-
Mar 4th, 2008, 05:11 AM
#1
[RESOLVED] Testing for an Object that is not added as a component or reference
Is there any way to test for any object even if it is not added as a component?
Here's the problem. I want to have code that can handle a few known objects such a TreeView, SSTab and a few others. Now I want the code to be independent of these object it is to test for. Meaning there are no references to it. Is there a dynamic way to see if an object passed to a routine is the type of object you are looking for in this manner.
IE.
If TypeOf ctl is TreeView then ...
What I want is
If TypeOf ctl is (A dynamic object treeview representation) 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
|