Remove button border

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

Is it possible to remove the button border on the button
control?
If so how?

I know it can be done with OpenNETCF controls (ButtonEx) -
but I would prefer to use the default controls - because I
don't want to install an additional item on the PPC if
possible.

thank you.
 
You can not set the BorderStyle property on a button because it is not
supported. What you can do is put your button in a panel and make the panel
1 pixel smaller as your button on all sides. You still have a working
button, but the borders will be clipped.

--
Regards,

Maarten Struys, eMVP
PTS Software bv

www.opennetcf.org | www.dotnetfordevices.com
 
The default control won't do it. You can always add the control to your
project in source form and compile it into your app. At taht point it will
become part of your app and won't need a separate install (though if you're
installing your app, what's the problem with adding a DLL or two to the
install?)

-Chris
 
Back
Top