|
-
Sep 21st, 2001, 07:18 AM
#1
Thread Starter
Hyperactive Member
Making a Screen Ruler
I'm not sure if this is API but ...
I'm making a screen ruler for measuring graphics. I've put the code in the Form_Resize event as follows.
Private Sub Form_Resize()
Text1 = Form1.Width
Text2 = Form1.Height
End Sub
Although this does work it doesn't display the new measurements until I let go of the mouse button. I'm trying to have it constantly update the measurements as you resize the form. I've tried using a timer but that doesn't work either. Anyone know how to do this?
-
Sep 21st, 2001, 07:30 AM
#2
Hyperactive Member
I'm sure you've tried it but i'll mention it anyways....have you tried the MouseMove or MouseDown events of the form? Not sure how you would implement it but could be a start in the right direction.
-
Sep 21st, 2001, 08:22 AM
#3
Thread Starter
Hyperactive Member
Yes I have. MouseMove, MouseDown and MouseUp. With and without timers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|