11-21-2012 09:19 AM
Is there a run-time property for the form/panel that you can use to control the origin of the panel. When I say origin, I am referring to the 0,0 coordinates used in the LEFT and TOP offsets used by the controls. I found the FP.PanelBounds and FP.WindowBounds under the VI Server>VI>VI class. However, this only moves the panel relative to the monitor. I want to be able to move the panel visible portion relative to the form. Exactly like the scroll bars do to the panel. When using the scroll bars, I cannot accurately line up the origin in the upper left corner which throws off my form. I am using this to develop a GUI on a 800x600 display, so the slightest offset is noticeable. I have included an image to help explain.
Solved! Go to Solution.
11-21-2012 09:25 AM
You have to implement something like this:
Norbert
Note that this code leaks references and does not work properly when using more than a single pane.