Results 1 to 3 of 3

Thread: How to make dot on picture when you click on it

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    18

    Question

    How do you make a dot on the spot you click on a picture? Like a red spot of blood for shooting games?

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Boulder, Colorado, USA
    Posts
    325
    try this:

    Code:
    Private Sub Pic_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
        
        Pic.PSet (X, Y), vbRed  '' this is too small  you should use circle.
    
    End Sub
    -Shickadance

  3. #3
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516

    Cool Or...

    This would make the the circle (with an 'X' in it for some
    strange reason):

    Code:
    Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim i As Integer
    For i = 1 To 30 'Vary the 30 to change circle size 
        Picture1.Circle (X, Y), i, vbRed
    Next:
    End Sub
    Hope it helps,

    Me

    [Edited by V(ery) Basic on 04-15-2000 at 05:00 AM]
    Courgettes.

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