Broken visuals on CmdButtons

way2bord

Registered User.
Local time
Yesterday, 22:05
Joined
Feb 8, 2013
Messages
177
I have 2 (btnX, btnY) command buttons in a form header.
I have 1 (btnA) command button in a form detail.

When I click btnA, it unhides a record selector and moves the buttons...

Now when I click btnX and btnY, I can't click directly on the button - but need to click a quarter inch to the right...

Can someone explain why my "button_click events" are no longer located visually under the picture of my buttons?
edit: I know it's the record selector throwing things off... but am unsure how to remedy.

(see attchment)
I've added rectangles to highlight the new area where the button_click event is...
 

Attachments

Can't open the database. I use A 2007.
Have you try to refresh or to repaint your form after you move the buttons ?
Me.Refresh or Me.Repaint.
 
Can't open the database. I use A 2007.
Have you try to refresh or to repaint your form after you move the buttons ?
Me.Refresh or Me.Repaint.

hmm. Anyone else having trouble opening the db? :confused:

Tried refresh, repaint, requery, echo true/false during the process...nothing works so far.
 
Set the record selector property to yes in design and then hide it when the form loads.
Don't ask why it is so, but it works! :)
Code:
Private Sub Form_Load()
  Me.RecordSelectors = False
End Sub
 
Last edited:
That did it - thanks!

I won't ask...but I'm extremely curious what's going on behind the scenes... :T
 
I won't ask...but I'm extremely curious what's going on behind the scenes... :T
Me too, I can only imagine what is going on, or better, not going on! :)
 

Users who are viewing this thread

Back
Top Bottom