Results 1 to 2 of 2

Thread: Graphics

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Santo Domingo,D.N., Dom. Rep.
    Posts
    707

    Talking

    I want to use graphics in my APP. This mean

    1.- if i display a Plane and you click some part of the graphi: the Wheels, you can just have that part on the form and work with that.

    What i have to use?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    1) A steady hand
    2) Paintbrush or graphics program
    3) Picturebox control on standard vb toolbox

    You will need to divide the picture up (ie, cut off the wheels separate to the plane), then save these as separate pictures - wheels.bmp & aero.bmp.

    Create 2 Picturebox controls on a form, 1 overlapping the other so this shows as 1 picture to the user. One of the properties of this control is the fillstyle - which you can select the transparent option from.

    Each Picturebox control also has an "onclick" command for excecuting / running any of your code - just like a command button would.

    Hope this helps!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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