|
|||||||||||||
I would like to be able to make static event registrations for an element that is contained within an array. Note: this is not just a registration of an event that happens to the array, but an event that happens to an element in the array.
This can currently be achieved with dynamic event registration, but I would like static event registration for two reasons: less code, and dynamic event registration must occur with a FP showing whereas static event registration never errors (meaning dynamic events can pose a problem for plug-in architectures using SubPanels).
Here's one specific example achieved with the current method of dynamic event registration. I have an array of a cluster that has two elements, but I only want to know when a user clicks on the Boolean.
I want to be able to statically register that same event, which would look something like this (in 8.6.1):
As a bonus, as part of the event data cluster on the left-hand side of the event structure, I would like an I32 array called "Index" that gives the multi-dimensional index of the item clicked.
Kudos! This an oldie, but a search turned it up while I was going to post the same idea. I want this now! Can't we bump older ideas to the top of "hot ideas" when they get new kudos and positive comments???
Yes, this would be helpful with my current application. I have an array of clusters, which contain a button so that you can edit that specific cluster. It would be nice to be able to add an event handler through the usual process instead of requiring coding to get the same effect.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page