Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Panel Resize Event (Not in Base Package)

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Event for VI.

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.

Event Data Fields

NameDescription
SourceSource of the event.

0LabVIEW UI
1ActiveX
2.NET
25User Event
nother
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.

TimeValue of the millisecond timer when the event occurred.

VIRefReference to the VI on which this event occurred.

OldBndsReturns 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.

NewBndsReturns 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.

ActReturns the front panel action the user performed, such as Minimized, Maximized, or Resized.

PrevStateReturns the previous state of the front panel, such as Standard, Minimized, or Maximized.

  • Standard—The front panel window is open but is not minimized, maximized, or hidden.
  • Minimized—The front panel window is minimized.
  • Maximized—The front panel window is maximized.

A state of Standard or Maximized indicates that the front panel window is visible to the user.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit