The Edit Events dialog has seen a number of improvements, but it is still very cumbersome to use when adding events for a newly added control. It requires too much effort to find the control in the Event Sources list. This problem can be easily and quickly addressed simply by reordering the controls section of the Event Sources tree in a more intelligent manner. There are two key problems:
1. The controls in the Event Sources tree are listed in the order they are added to the VI front panel. So the most recently added control is at the bottom of the list. Consider the following scenario, which is very common: You are editing a VI dialog that already has many controls. You want to add a new control and configure events for that control. Doing so requires scrolling all the way to the bottom of the Event Sources list to find the control. This is the exact opposite of the desired organization. The newest controls should be at the top, because they are the most likely ones that you will be configuring events for!
2. Clusters are expanded by default in the Event Sources tree. This bloats the list and makes it difficult to find the controls you really care about. When searching through the controls list, the first thing I have to do is collapse the clusters to filter down the list. But then next time I open the dialog, they are expanded again! It is relatively rare that a user wants to configure events for controls contained within a cluster. Generally the cluster controls are error inputs and outputs, or hidden off-screen clusters containing configuration data. They don't generally require event handling. Obviously there are some use-cases for it, but I think that it is appropriate to have clusters collapsed by default. It is not hard to expand them when searching specifically for a control within a cluster.
So my proposal is simple and straightforward, and would greatly increase most developers' efficiency when creating VI front panels requiring events. Sort the controls in the Event Sources list with the newest controls at the top instead of the bottom, and collapse all cluster controls in the tree by default.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.