Results 1 to 3 of 3

Thread: ActiveX User control problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274
    I have an ActiveX UserControl which contains a Picture Box. I draw some lines on this Picture Box and every thing sees fine. But, at Design-time of the form, if I click on my control, the lines drawed on the picturebox disapear!!!

    When I run the app, the lines appears again.

    Any idea about this?
    Ulises Vázquez
    [size=1.7]Oracle DBA Certified Professioanl
    Visual Basic 6 Developer
    Crystal Reports Designer
    [/size]

  2. #2
    Lively Member
    Join Date
    Nov 1999
    Location
    Cincinnati, OH
    Posts
    66
    Are you using the line control or the line method? If you are using the controls, be sure you are not changing the coordinates in the control_initialize or InitProperties. If you are using the method, be sure the AutoRedraw property is set to true so it will redraw the lines whenever it recieves an event....

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274
    I'm using the line method and I set to True the AutoRedraw property.
    Ulises Vázquez
    [size=1.7]Oracle DBA Certified Professioanl
    Visual Basic 6 Developer
    Crystal Reports Designer
    [/size]

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