PIFORSystemTemplateVI.FPRunTimePosRunCustom((Int16)500, (Int16)500);
this didn't work which is odd because the LabVIEW help files say that I only need to enter a 16 bit integer number.
I've also tried to create 16 bit integer number variables and set them to any value and then use the variables for position and size, but that didn't work either.
Has anyone used this method or has anyone got any ideas as to how to use this method?
FPRunTimePosRunCustom Method
Requires: Base Package
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.
Syntax
object.FPRunTimePosRunCustom([position], [size])
Parameters
Name | Type | Description |
position |
16-bit integer |
A cluster of top and left pairs that indicate the front panel window position. |
size |
16-bit integer |
A cluster of height and width pairs that indicate the size in pixels of the front panel. |
Return Value
none