|
-
January 16th, 2000, 12:30 PM
#1
How can I use Withevents as Array
Hello,
Can I use Withevents as an array like this:
Dim withevents Button(1 to 10) as CommandButton 'this code doesn't work
Alexander Holtkamp
-
January 16th, 2000, 07:45 PM
#2
Re: How can I use Withevents as Array
Hi!
I think dimension is not possible for withevents because it is used for object variables in the class events.Keyword that specifies that varname is anobject variable used to respond to events triggered by anActiveX object. WithEvents is valid only inclass modules. You can declare as many individual variables as you like using WithEvents, but you can't createarrays with WithEvents. You can't use New with WithEvents.
satya
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
|