04-02-2007 04:31 PM
04-03-2007 12:50 AM - edited 04-03-2007 12:50 AM
FitControlToPane also changes the visibility of vertical and horizontal scroll-bars - are these [VI Properties] programmatically settable?
Feel kinda silly now, having advised someone else to search LabVIEW's HELP first!
- found Scrollbar Visibility can be set via (LV8.2)\ VI \Panel(reference)\Panes[0].HorizScrollbarVisibility.
Still hunting for an elusive "Set Scaling Mode" method...
(The Tab Control's "AutoGrow?" property doesn't seem to do anything!?)
Message Edited by tbd on 04-03-2007 12:56 AM
03-19-2014 03:27 AM
Seven years later... Did you ever find an answer for the FitControlToPane undo? I found that (nowadays?) there is a method on the pane "Set Scaling" to do this.
I use it to overcome the limitation of stacked plots chart: create a stack of max number of plots, fit the control to a (larger) panel height, then set the panel height to show just the stacks/plots you need to see.
//Thomas
03-19-2014 11:31 AM
Nope as of 2013 there are no public method of invoking the Scale Objects programatically. Here are a few topics:
That being said you could try to perform an undo of resize, by getting the size and position of the graph before the fit takes place, and then by Undo you just set it back to what it was.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord