answersLogoWhite

0

Visual Basic provides a large variety of graphics operation by which we can make an application with graphics. In traditional languages graphics are usually distinguished from est, but in VB every thing placed on form is considered as to be graphical that is the reason that we specify the left, top, currentS, currentY properties for allmost the controls based on form.

There for we can also move an image in the visual basic's Form. For this we can use the property of that image is Left, Top.

The Left property of image says it to move left or right side. When we increament the Left property value then it moves in right of its current location while when we decreament the Left Property value then it moves in left of its current location. For example- We take a timer on the form and set its following property

Interval=1000

Enabled=True

Name= Timer1

Also take a image on form with the help of image control and set its property-

Left=100

top=100

name=image1

Code for moving an image on the form

Private Sub Timer1_timer()

image1.Left=image1.Left + 100

image1.Top=Image1.Top + 100

End Sub

This effect on the form , The image move the left-up-corner to right-down-corner.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is a single point in an image?

Pixel


What teaches a visual communicator to combine those basic elements into a meaningful whole?

image


What part of the brain is active in keeping an image of a moving object on the retina of the eyeball?

Visual cortex of occipital lobe


What is a synonym for visual?

Visual=Image


Why is your visual image important when interviewing for a job?

Why is your visual image important when interviewing for a job?


How do you store photos in a database using visual basic?

You cannot store images inside a database, you can store information about where the image is kept in a database. -Peter


Sample program of IP Camera in VB6?

Hi, can you help me to bring me sample visual basic 6 script for capture image from IP Camera


How can I transfer an image to a lino block for printing?

To transfer an image to a lino block for printing, you can use a technique called "image transfer." First, print or draw your image on a piece of paper. Then, place the paper with the image face down on the lino block and rub the back of the paper with a spoon or a burnisher. This will transfer the image onto the lino block. Finally, you can carve the image into the lino block using carving tools to create your printing block.


How can motion blur be effectively utilized in photography to enhance the visual impact of the image?

Motion blur can be used in photography to create a sense of movement and dynamism in the image. By intentionally blurring moving subjects or backgrounds, photographers can convey a sense of speed, energy, or action, adding visual interest and impact to the photo.


How do you find a block image?

, ,i block my own image , ,and now i cannot view all my photos , ,


What does visualizing mean?

it means a prop or background


How can leadroom be effectively utilized in photography composition to enhance the overall visual impact of the image?

Leadroom in photography composition refers to the space in front of a moving subject. By leaving extra space in the direction the subject is moving, you can create a sense of movement and direction in the image, enhancing its visual impact. This technique can help draw the viewer's eye towards the subject and create a more dynamic and engaging composition.