When a button is focused by pressing Tab key, a rectangle appears on
it. Even if the button's TabStop property is set to false, when the
button is clicked with mouse the rectangle appears. Is it possible to
stop the rectangle from appearing? Please help. Regards.
priyamtheone
16
Member
Recommended Answers
Jump to PostThis is because the focus still on the button.
On the button click event, you can set the focus to another control to 'remove' the rectangle
Hope this helps.
Jump to Postits a default styling in visual studio. it shows the button has the focus
All 5 Replies
lolafuertes
145
Master Poster
Netcode
33
Veteran Poster
Luc001
77
Posting Whiz
deeputan
0
Newbie Poster
priyamtheone
16
Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.