Jump to content

Triggering Boolean Events in the cluster within a 2d array


KWaris

Recommended Posts

I had never known that the controls inside the cluster contained in the 2d array were unavailable to be used in the Edit Event Handling for this case dialog box.

So I just did my best to trigger the events for the boolean controls. Please see attached my attempt.

I will be glad to know there is a better way to achieve this. Any ideas?

Kind Regards

Austin

Triggering Events For Booleans in an Array.zip

  • Like 1
Link to comment

In your code the event is triggered when any of the fields inside the cluster is modified.

Have a look at the first image I posted to see how you can get a specific field inside the cluster.

post-2399-0-27373300-1349535079.png

First we caste the ArrElem to a cluster, then we get all elements inside the cluster, and afterthat we take the third element (the boolean) and register the event for that control only.

Here's your code:

post-2399-0-96803700-1349868467.png

(spot the differences)

Ton

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.