I use VI Server and the "Front Panel Open" Property Node to test to see
if the user has closed the app via the X (close) button. The Front Panel
property tells you if the app is running.
If the Front Panel is open (True), let the program continue, if the Front
Panel is
closed (False), clean-up and close.
Regards,
Alan Brause
James D. wrote in message
news:384ea1da@newsgroups.ni.com...
>
> Hi, I was wondering if anybody could answer my question pertaining to the
>
> close box (little X button on top right of window). Do you know if
labview
>
> gets a signal when this button is pressed and the window is closed?
> For example, I need to write to my log file that the program was shutdown
> but if they hit the X, the program doesn't know it s
hut down. The only
> solution so far is to just disable the button, but i would really like to
> have
> it enabled.
>
> Thanks,
> James