Results 1 to 2 of 2

Thread: How to refresh graphics?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    9

    Question

    Hi,

    I'm developing an ActiveX component with Visual Basic 6.0
    to be used in a WEB page. It draws some simple lines.

    The problem is that:

    When the browser windows is covered by some other window or when I print some kind of text over the lines and then remove them the graphics are destroyed and are not drawn again automatically.

    How can I arrange VB so that what I draw on the form stays there no matter if I minimize the window and restore it (in the current situation the whole graphics disappear) or put some text on it (like yellow-box-help text, etc.)?

    Tip: I'm using the Line method to draw lines (if this is a tip at all :-)

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    I don't know if this applies to web-based apps but you could try setting the AutoRedraw property of the form, picturebox or whatever it is that isn't redrawing to TRUE.

    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width