Command button with icon and text

  • Thread starter Thread starter Davids
  • Start date Start date
D

Davids

Hi all...
It's possible display a Command Button with icon and text in a MS Access
form?
Thanx in advance!

Davids
 
Hi all...
It's possible display a Command Button with icon and text in a MS Access
form?
Thanx in advance!

Davids

Not directly, but if you are willing to work a bit, it's easy enough.

Add a command button to your form with whatever picture you want to
add text to. Size the command button to the approximate size wanted.

Press Ctrl + Print Screen.
Open Paint
(Start + All Programs + Accessories + Paint.)

Click Edit + Paste.
Select just the picture of the entire command button (out of the
backdrop of the whole form).
Cut it
Select Image + Attributes
Set the Width and Height to 10 x 10 (pixels)
Paste

Click on the Text tool button.
Select either the normal or transparent background tool button.
Add text to the picture.

You can re-position the text on the picture after typing (before
leaving the text box) by moving the cursor within the text box until
the | cursor becomes an arrow. Then move the picture.
Or click View + Zoom and select the text. Drag it. Re-fill the back
color as needed by using the color and fill tool buttons.
Size the picture to remove any extra un-needed space (View +
Attributes).
Save as a .bmp file.

Back in Access, change the command button picture to this one.
You can use this bitmap on any other command button.

It took me about 4 minutes.
 
Many thanx...
Davids

fredg said:
Not directly, but if you are willing to work a bit, it's easy enough.

Add a command button to your form with whatever picture you want to
add text to. Size the command button to the approximate size wanted.

Press Ctrl + Print Screen.
Open Paint
(Start + All Programs + Accessories + Paint.)

Click Edit + Paste.
Select just the picture of the entire command button (out of the
backdrop of the whole form).
Cut it
Select Image + Attributes
Set the Width and Height to 10 x 10 (pixels)
Paste

Click on the Text tool button.
Select either the normal or transparent background tool button.
Add text to the picture.

You can re-position the text on the picture after typing (before
leaving the text box) by moving the cursor within the text box until
the | cursor becomes an arrow. Then move the picture.
Or click View + Zoom and select the text. Drag it. Re-fill the back
color as needed by using the color and fill tool buttons.
Size the picture to remove any extra un-needed space (View +
Attributes).
Save as a .bmp file.

Back in Access, change the command button picture to this one.
You can use this bitmap on any other command button.

It took me about 4 minutes.
 
Back
Top