Jump to content

Triggering Boolean Events in the cluster within a 2d array


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


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.


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:


(spot the differences)


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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