09-28-2006 03:11 PM
09-28-2006 03:32 PM
09-28-2006 03:41 PM
09-29-2006 08:09 AM
09-29-2006 02:18 PM
10-02-2006 09:17 AM
10-02-2006 10:45 AM
10-02-2006 11:04 AM
10-02-2006 12:39 PM - edited 10-02-2006 12:39 PM
Ok, I played for another minute, and here's something you may be able to use. Basically, I use the mouse down event on the panel to recognize when the the panel is starting to be resized (to get initial "before resize" size) and then use the mouse leave event on the panel to compute and assign the new size. The result is that if i resize and then just move my mouse outside the bounds of the VI window, it updates with the square aspect you desire. More specifically, it uses the following logic:
If at least one dimesion (height or width) got bigger then resize bigger (to the bigger of the height and width)
Otherwise, resize smaller (to the smaller of the height and width)
Here it is in 8.0 as I believe you noted you were using - I hope this helps!
Best Regards,
JLS
Message Edited by JLS on 10-02-2006 12:39 PM
10-02-2006 01:09 PM - edited 10-02-2006 01:09 PM
Message Edited by NahoY on 10-02-2006 01:11 PM