|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
VeriSign Code Signing Digital Certificates provides assurance to end users. Read about this and more in the free white paper: “How to Digitally Sign Downloadable Code for Secure Content Transfer.” Learn More! |
|
#1
|
||||
|
||||
|
Hey all - I gotta question for you. I've got a picture box in which I am displaying the output of some vector drawings before sending them to the printer. Basically, I've just copied my code from my print sub to another sub, and changed printer to picture. I'm trying to add scrollbars to the picture box, and have successfully done so, except that VB erases the diagram every time you move the scroll bar, forcing the user to redisplay the object. Does anyone know of some sort of persistance that would prevent this?
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#2
|
|||
|
|||
|
May be this helps...
Do U set the AutoRedraw = True
__________________
I May Have Misinterpret U'r Post Correct Me If I Am Wrong......// Enjoy Coding........................../// zak2zak |
|
#3
|
||||
|
||||
|
I actually did. I am using the picture.line method, and it apparently does not like it when you use autodraw.
|
|
#4
|
|||
|
|||
|
U can use the Refresh in the scrollbars scroll() procedure
Code:
Picture1.Refresh |
|
#5
|
||||
|
||||
|
hey... it works!!! gracias mi amigo!!
|
|
#6
|
|||
|
|||
|
U R WELCOME
Anytime Anyday...........//
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Picuture Box/scroll bar |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|