Blue Glow Command Button

TomBP

Registered User.
Local time
Today, 02:01
Joined
Jul 6, 2006
Messages
49
Hi,

On every form where I make use of command buttons, one command button has a blue glow behind it. Is there a way to get rid of this? It kinda ruins the "slick" look I'm going for :cool:

I've added a print-screen + here's the VBA code of the command button:

PHP:
Private Sub Automation_Ratio_Click()
On Error GoTo Err_Automation_Ratio_Click

    Dim stDocName As String
    Dim stLinkCriteria As String

    stDocName = "Switchboard Automation Ratio"
    DoCmd.OpenForm stDocName, , , stLinkCriteria

Exit_Automation_Ratio_Click:
    Exit Sub

Err_Automation_Ratio_Click:
    MsgBox Err.Description
    Resume Exit_Automation_Ratio_Click
    
End Sub
 

Attachments

  • Blue Glow Command Button.jpg
    Blue Glow Command Button.jpg
    22.1 KB · Views: 226
That 'blue glow' is telling the user that the 'Automation Ratio' Command Button currently has the Focus! Focus has to be some where, but I suppose if it aggravates you that much you could create a Textbox or Command Button, which can receive Focus, that has no other purpose, place it in the Upper, Left-Hand corner of the Detail Section, reduce it in size to a pinpoint, then use the Form_Load event or the
Form_Current event to set Focus to it when the Form first opens.

Linq ;0)>
 
Thanks missinglinq. That did the trick.
 

Users who are viewing this thread

Back
Top Bottom