Check out our User Interface Code Repository Files or visit the LabVIEW Wiki User Interface Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Jul 6 2003, 07:37 PM
Post
#1
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2363 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
I love the panel resize event, however what happens if you have a slow routine that runs in response to this event? Every single pixel increment of the panel resize fires an event. Is there a way to filter out and ignore all the intermeadiate panel sizes and only acknowledge the last panel size?
--------------------
|
||
|
|
|||
| Ad |
Jul 6 2003, 07:37 PM
Post
#
|
||
|
|
|
||
|
|
|||
Jul 7 2003, 04:04 PM
Post
#2
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2363 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
A bit of head scratching and some head banging later, I figured it out. The solution is quite simple actually. Lucky for us, the last event which occures after you the mouse is up, is registered and shows as being equal to previous. This will do exactly what I want. Some extra checking is required to trap maximize and restore sizes, but overall is a robust solution.
Attached image(s)
--------------------
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 02:43 AM |