Strange appearance zoombox-button

E

Eelco de Vries

Hi there!

I have a button on the details section of a continous form next to a
textfield, and in the onclick event I have the code

Private Sub btnVerdiepingZoom_Click()
Me.txtVerdieping.SetFocus
RunCommand acCmdZoomBox
End Sub

When I haven't clicked yet, the buttons each become yellow-edged when I
mouse-over them. When I do click, the text-field next to it gets focus and
opens the zoombox as expected.
When I close this zoombox, *all* the buttons next to all the textfields now
have this "mouse-over" look (orange-yellow edged).
How do I bring this buttons back to default state?
Tried with repaint, didn't work. Is there a "loose-focus" like there is a
"setfocus"?
 
R

Ron2006

my recollection is that this is a consequence of being a continuous
form as opposed to single or datasheet. I have not run across a real
or at least a simple solution to the problem. I believe that
conditional formating is also affected by this situation. Allen
Brown's site might have some suggestions.

Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top