Requires: Base Development System
Class: VI Methods (ActiveX)
Sets a custom position for the VI to move its front panel to every time the VI runs.
For single-pane front panels, minimum size refers to the content area of that pane, not including the scroll bars. For multi-pane front panels, minimum size refers to the entire front panel, including any visible scroll bars.
You can use this method with text-based programming languages. Refer to the following example of a code snippet for using this method while working in C#:
object[] pos = new object[2];
object[] size = new object[2];
pos[0] = 100; //top
pos[1] = 100; //left
size[0] = 900; // height
size[1] = 300; // width
vi.FPRunTimePosRunCustom(pos, size);
object.FPRunTimePosRunCustom([position], [size])
Name | Type | Description |
---|---|---|
position | Array of variants | A pair of numbers that represents the coordinates of the top left corner of the front panel window. Each element in the pair occupies one element of an array that contains two elements. |
size | Array of variants | A pair of numbers that represents the height and width of the front panel window. Each element in the pair occupies one element of an array that contains two elements. |
none