|
-
Mar 9th, 2005, 03:05 PM
#1
Thread Starter
Hyperactive Member
-
Mar 17th, 2005, 06:39 AM
#2
Member
Re: Capture events from runtime controls in a activex
ok ive never done this but have you tried decalring your control object using the WithEvents Keyword?
i.e.
Code:
Dim WithEvents myControl As CommandButton
Set myControl = Controls.Add("VB.CommandButton", "myControl")
Then you should be able to access myControl from the object drop down box.
Last edited by appdalesolution; Mar 17th, 2005 at 06:44 AM.
-
Mar 17th, 2005, 06:46 AM
#3
Member
Re: Capture events from runtime controls in a activex
Just tested this out and it works fine
-
Mar 17th, 2005, 03:06 PM
#4
Thread Starter
Hyperactive Member
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
|