LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Matthew_Kelton

Change the existing behavior or Add a new setting to control structure auto grow behavior

Status: New

I didn't see this in a search, but wouldn't be surprised if it is already here.

 

I personally hate auto growing structures.  I find I spend more time downsizing them after laying out the internals than I do increasing the size when it is turned off.  So I have the gloabl setting turned off, so all structures I create do not auto grow.

 

The problem?  This doesn't override the structures auto grow setting.  So, if I get code from someone else who had it turned on, then I have auto growing structures.

 

I see 3 potential solutions:

 

  1. Change the existing global setting to not drop auto growing structures to also override the setting of existing structures (the structure setting doesn't have to change, hust override it).  I am even open to not having the structures have individual settings, either they all do or they all don't.  But, I could see the argument for keeping that setting, especially since it is already there.  I just would like to see it get overridden by a global setting.
  2. Change the existing global setting to only enable or disable growing.  All structures by default are dropped with auto grow enabled.
  3. If the current behavior is still desired, then add a new setting that enables or disables autogrowing structures globally.  This way, I could drop auto growing structres, but LabVIEW will ignore the setting if I don't want the behavior.

This would allow programmers with different preferences to both use the same code and not be annoyed by not having the desired behavior.  I think #3 is probably the best solution to the problem, as you can maintain existing behavior and simply AND it with the new global setting.

1 Comment
fabric
Active Participant

Kudos for global control over auto-grow. Let people write VIs with auto-grow if they want, but let me ignore their setting if I want too!