473,386 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

removing border from Flat buttons

JSM
Hi,

is there any way of removing the border from a button when the style is set
to Flat. I am assuming the best way is to create a class derived from a
standard button and override the On_Paint method but I'm not sure what I
would need to do to remove the border within this method

Any help would be appreciated.

Cheers,

John
Nov 16 '05 #1
1 4618
Why not use a label instead of a button? Works just as well.

"JSM" <js*@sirotilk.com.au> wrote in message
news:Os**************@TK2MSFTNGP11.phx.gbl...
Hi,

is there any way of removing the border from a button when the style is set to Flat. I am assuming the best way is to create a class derived from a
standard button and override the On_Paint method but I'm not sure what I
would need to do to remove the border within this method

Any help would be appreciated.

Cheers,

John

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JSM | last post by:
Hi, is there any way of removing the border from a button when the style is set to Flat. I am assuming the best way is to create a class derived from a standard button and override the On_Paint...
7
by: redneon | last post by:
Is it possible to change the border colour of a button whos FlatStyle is set to Flat? It's be nice to be able to change the width of the border too. Any ideas? Darrell
5
by: AbdulGafoor GK | last post by:
hi i am using visual studio 2005. i could make combobox flat, but without border. is there any way to draw a border for it ?!!! thanks
3
by: =?Utf-8?B?U2hhdWxp?= | last post by:
Hi, I created a button with flat style appearance and with border size set to 0. When the button is in focus it gets a border. How can I get rid of the border? Thanks Shaul
4
by: active | last post by:
There are at least the following border styles: None FixedSingle Sizable
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.