change image of an image control to "disabled"

  • Thread starter Thread starter Nhan
  • Start date Start date
N

Nhan

Hi,
I have a form with many images controls.
Now when users are not allowed to click on an image (imgA), I want to change
the image (picture, bitmap) of this control to disabled image as a
commandbutton in disabled status.

Otherwise
Can I the borderstyle of a commandbutton to flat, without border?

How can I do this?
Thanks for help
Nhan
 
Do a screen print of a form with the control in the state you want, then
edit it with your preferred imaging software. Use that as the picture for
the non-clickable image, but you'll need to handle the click event (so it
doesn't do whatever it normally does if you are displaying the disabled
image).

Larry Linson
Microsoft Access MVP
 
Back
Top