URGENT - Setting a normal grahic held in a Image Control to the imURGENT - Setting a normal grahic held in a Image Control to the im

URGENT - Setting  a normal grahic held in a Image Control to the image on the button,

Any examples from code would be greatly appreciated ...

Redards

Darrin
LVL 1
dwe0608Asked:
Who is Participating?
 
List244Connect With a Mentor Commented:
Setting pictures back and forth between image controls and command buttons is as simple as:

Image1.picture = command1.picture
AND
command1.picture = image1.picture

However, for a command button to hold a picture, it must be set to graphical.  This also must be
done at design-time.  Click on your button, and in the property page, find "style"  set it to graphical
and you will be able to add pictures and other colors to your button.
0
 
dwe0608Author Commented:
you dont have to use \
                  the Set commandcommand1.picture = image1.picture
0
 
List244Commented:
No, you do not need to use set, that is what the = is for, it tells it to set the picture in commandcommand1 to the picture in image1.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.