Results 1 to 6 of 6

Thread: aligning graphics in two picture boxes

Threaded View

  1. #6
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    OK i have tied your controll...but I get an error when I load it, and an error when I start my app...and an error when I end my app...

    OK look here...I can't see what you are complaineing about...the label is following the cursor up and down...

    Is your problem that the text in the label is under the cursor??? Because if it is that then the problem is simple. In your code you write that the Y in the mousemove event = the top of the label. But you actually want it to be like the mid of the text. Then You would have to do something like this...

    VB Code:
    1. Label1.Top = Y - (Label1.Height / 2)

    Try that out and tell me if that is your problem....

    BTW I have attached a picture showing what I mean. The black label is your controll now....and the red one is what I mean....

    Attached Images Attached Images  

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