|LabVIEW 2014 Help|
|LabVIEW 2015 Help|
|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
Requires: Base Development System
Class: VI Events
Generated when the user sizes the front panel by clicking and dragging the window frame, minimizes or maximizes the front panel, or restores the front panel to its original size from a maximized or minimized state.
Use this event when you want to perform computations necessary for resizing front panel objects or when you want to reduce computation and conserve display memory when the user minimizes the front panel. You can use the OldBnds and NewBnds event data field values to determine how the user resized the front panel.
Because LabVIEW may generate multiple Panel Resize events while you resize the window, LabVIEW generates a final event at the end of the resizing operation in which OldBnds and NewBnds return the same value. You can use the values to identify in the code when the sizing operation finishes.
|Source||Source of the event. LabVIEW UI refers to any built-in user interface event.
|Type||Type of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.|
|Time||Value of the millisecond timer when the event occurred.|
|VIRef||Reference to the VI on which this event occurred.|
|OldBnds||Returns a cluster of coordinates in pixels that specify the location of the front panel before the user resized the front panel. Coordinates refer to the upper left and lower right position of the front panel.|
|NewBnds||Returns a cluster of coordinates in pixels that specify the location of the front panel after the user resized the front panel. Coordinates refer to the upper left and lower right position of the front panel.|
|Act||Returns the front panel action the user performed, such as Minimized, Maximized, or Resized.|
|PrevState||Returns the previous state of the front panel, such as Standard, Minimized, or Maximized.