Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Events in cwgraph Control array

I have created a control array of cwgraph at run time.
Now all the properties are accesible but I am unable to fire events (with index) on cwgraph....
please help.
0 Kudos
Message 1 of 2
(3,189 Views)
When the sub for the event in a control array gets called it will get passed the index of the control for which it will be called.


The simplest way to handle the events then is to use a case structure which selects off of the index parameter. The following example should illustrate this.

Regards,
-Amaury R.
0 Kudos
Message 2 of 2
(3,189 Views)