Thanks
Javad
Another, simpler (read lazier) method is to set focus to some other control
in the button's click event.
"Javad" <java...@myrealbox.com> wrote in message
news:%23DUDWAG...@TK2MSFTNGP14.phx.gbl...
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"Javad" <java...@myrealbox.com> wrote in message
news:%23DUDWAG...@TK2MSFTNGP14.phx.gbl...
: How can I ommit the border of a button or change its width?
:
: Thanks
: Javad
:
:
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"Norm Cook" <normcoo...@cableone.net> wrote in message
news:eGl8pLS5...@tk2msftngp13.phx.gbl...
: Are you referring to the focus rectangle?
: >
: >
:
:
Thanks
Javad
"Randy Birch" <rgb_rem...@mvps.org> wrote in message
news:u#wI4TS5E...@TK2MSFTNGP14.phx.gbl...
> Yes. That's right.
> I mean a Flat button, not focus rectangle.
> I want my button to be a simple rectangle, but I can't do this.
maybe you can't do it directly.
but you can simulate it by placing the button inside a borderless frame,
with the button larger than the frame so the borders get clipped.
Bob
--