Scrolled Drawing Window [message #3124] |
Mon, 14 November 1994 10:40 |
mark_cadwell
Messages: 10 Registered: February 1994
|
Junior Member |
|
|
I created an application where there is a scrolled drawing window
(PV-Wave 4.2) with a plot in the drawing area. When the routine first
comes up, I want the vertical slider to start at the bottom instead of the
top, and I want it to show the lower part of the plot in the window. I
have been able to successfully start the slider at the bottom of the
scroll bar with the following commands:
children = wtget(drawing, /child)
args = {, value: 2548} ; 2548 equates to the bottom of
the ; drawing area.
status = wtset(children(1), args) ; children(1) equates to the vertical
; scroll
bar.
The problem is that the plot does not appear in the window until an
event is registered with the slider. Even though the slider is at the
bottom of the scroll bar (like I want), the plot does not appear until I
click on the slider.
Can anyone suggest a way to register an event with the slider so that
the plot appears without having to click it? Thanks.
Mark
--
----------------------------------
mark_cadwell@qmail4.trw.sp.com
|
|
|