Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting count property for control arrays

While examinig the Features.2005 example, I was stymied as to how the count property was set. There did not appear to be any way to set it from the form designer. After debugging the app and commenting out the deubggerstepthrough in MainForm.Designer.vb to allow stepping thru the form generation, I found where it happens. There is a line
 

Me.layoutNumericEditArray.ScaleMode = NationalInstruments.UI.ControlArrayScaleMode.CreateFixedMode(3)

that does it. Then I found a Scalemode property that was set to Fixed:3.
 
There is essentially no documentation on how to use the new SwitchArrays and LEDArrays in apps. The starting point appears to be the parent class ControlArray<TControl> documentation. The example is not hyperlinked in the online help either. That would be nice.
 
I'm just passing along this as information to other users. Hopefully the documentation will catch up.
0 Kudos
Message 1 of 2
(3,145 Views)
We have some overview topics in the help that talk about these controls. You can find them by going to the Contents section of the help, then go to NI Measurement Studio Help >> NI Measurement Studio .NET Class Library >> Using the Measurement Studio Windows Forms .NET Controls >> Using the Measurement Studio Control Array .NET Controls.

I hope this helps.



Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,135 Views)