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 post

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 post

Join the conversation

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

Guest
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.