I'm working on a project where I don't want to have a form, but I do want to create a control array programatically.
If I want to create a single control, I can simply declare it WithEvents, like this...
[tt][blue]Public WithEvents ControlName As ControlType[/blue][/tt]
I tried:
[tt][blue]Public WithEvents ControlName[!]()[/!] As ControlType[/blue][/tt]
Then I read that VB6 doesn't support WithEvents on a control array. So, I'm wondering if there is a way around this problem.
Any thoughts?
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
If I want to create a single control, I can simply declare it WithEvents, like this...
[tt][blue]Public WithEvents ControlName As ControlType[/blue][/tt]
I tried:
[tt][blue]Public WithEvents ControlName[!]()[/!] As ControlType[/blue][/tt]
Then I read that VB6 doesn't support WithEvents on a control array. So, I'm wondering if there is a way around this problem.
Any thoughts?
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom