Results 1 to 2 of 2

Thread: add handle to image Box

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283

    add handle to image Box

    i am trying to make it so that after a user clicks a button, every time he clicks on an image box, a point is drawn there. when he clicks the button again, this functionality is removed.
    i am thinking of doing this by adding a click handle to the image Box, but i don't know how to do this...
    any ideas?
    i know i could just use a check box and an if(box.checked)... statement, but that seems kind of stupid and and unprofessional.


    thanks...

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    What about having boolean variable that changes after each click .
    VB Code:
    1. If b =true then
    2. do this 'it means you set b = false
    3. else
    4. do that 'which means you set b =true
    5. end if
    I might got you wrong though .

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