beautypg.com

How do you control panel size, How do you control panel size? -6 – National Instruments BridgeVIEW User Manual

Page 174

background image

Chapter 7

Advanced Application Topics

BridgeVIEW User Manual

7-6

© National Instruments Corporation

For example, you might find it unnecessary to load certain panels into your
application until they are needed. By using these functions, you can control
when your panels are loaded into memory. You can reach the VI Server
functions through the Functions»Application Control palette, shown
below.

For more information about the VI Server, see Chapter 15,

Application

Control

, or the Online Reference available by selecting Help»Online

Reference.

How Do You Control Panel Size?

To query or set the size of an operator interface panel, use the property node
function set to the

Virtual Instrument

VI Server Class, and read or

write the Front Panel Window»Window Bounds or Front Panel
Window»Panel Bounds
property. The Front Panel Window»Panel
Bounds
property does not include the window title bar, scrollbars, menu
bar, or toolbar, while the Front Panel Window»Window Bounds
property includes all of these components. Both bounds are given in pixels.