Doing some educational software in VB6 - so much easier to make the UI pretty than in VC++ (any shade as long as it's grey). Generally peesopiss - but there's one thing I can't figure.
How do you call a sub or function with an array of controls? Say if I had an array of command buttons Command1 and did something like:
Thingy Command1
...
sub Thingy(But() as CommandButton)
don't work - get 'user defined type or array expected'.
How do you call a sub or function with an array of controls? Say if I had an array of command buttons Command1 and did something like:
Thingy Command1
...
sub Thingy(But() as CommandButton)
don't work - get 'user defined type or array expected'.
Comment