high lighting a command button

01-23-2005, 01:07 PM
Yo i need it was when you press the arrow keys the command button doesn't high light. Can anyone help me with that please? Thanks in Advanced!

01-23-2005, 04:12 PM
hot highlight but like there would be a black thing around it

01-24-2005, 01:59 PM
You could always create your own "button" using a picturebox control, or else consider the HoverCommand control from www.elitevb.com.

01-24-2005, 02:26 PM

01-25-2005, 09:22 AM
I'm not sure if this is what you want because your language is quite strange - and this is comming from a bad dyslexic - but if you are wanting the arrows to move the default of the command buttons, which is to say the button that is activated when enter is pressed even when it does not have focus, then for each command button on the form's gotfocus event add cmdWhatever.Default = True.

For example:

Private Sub cmdSetup_GotFocus()
cmdSetup.Default = True
End Sub

Private Sub cmdPrint_GotFocus()
cmdPrint.Default = True
End Sub

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum