Results 1 to 2 of 2

Thread: Plotting a moving graph!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Posts
    4

    Question

    wondering if ye can help me here, I have plotted a line into a picture box and want to make it move.....(ie the line is curved so the end position is upside down to the start position)
    how do i do this?

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well if you store all the points in UDT like so :

    Code:
    Privtae Points() As myPoint
    Private Type myPoint
        x As Integer
        y As Integer
    End Type
    Then, if you wanted to move the line up, you would iterate through the Points array and subtract some value from the Point(n).y value.

    This help ?

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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