Bring image to front in VB code

Joined
Sep 14, 2005
Messages
2
Reaction score
0
Hello everybody,

I have a form with a lot of images (NOT object frames) on it.

They are very small (1x1 inch): then, when I click on one of them, I make it bigger by VBA (setting width and height properties), while double-clicking reset them to small size. This I can do!

THE PROBLEM IS: the bigger picture will not stay in front, but hidden behind other small pictures

I tried with SetFocus but he says that he "can't move the focus to the control ImageFrame"

Using DoCmd.RunCommand acCmdBringToFront gets the answer: "The command or action `BringToFront' isn't available now"...

To make invisible all other pictures seems to me a bit stupid...

I cannot believe that such a simple thing cannot be done! Anyone can help?

Thank you very much!!

Alex
 
Back
Top