|
-
Jul 11th, 2000, 04:04 PM
#1
Thread Starter
New Member
I have an application with a picture box and a scroll
bar both within another picture box so that I can use the
scroll bar to move the inside box within the outside box.
I'm hoping to plot a hoizontal line incrementally from
left to right and as the size of the picture box increases
in size to hold the growing line, so should the horizontal
scroll bar to reflect the change in the size of the picturebox.
The problem lies in the fact that when I increase both
controls the same amount (inside picture box and horiz.
scrollbar), their values do not correspond and I either get
a scroll bar that scrolls past the endge of the picture box
or one that does not scroll to its end.
Both picture boxes are set to .ScaleMode = vbpixels and
I have even tried setting the whole form.
Am I missing an easy way to relate the two controls so
that they correspond correctly?
-Serp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|