Results 1 to 2 of 2

Thread: connecting lines to picture boxes at runtime

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    connecting lines to picture boxes at runtime

    Please can you tell me the best may to join to picture boxes together using the line control at run-time. So that when you drag the picture box the line will move with the picture box.

    Many Thanks in Advance

    Steve
    steve

  2. #2
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    One of the demos or templates (not sure) that come with Visual Basic demonstrates just that, I think it's an explorer-like form. But it uses a gray picturebox instead of a line control because line controls can't be clicked
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

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