473,386 Members | 1,779 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.

Buttons with no borders - like Xnews/Toolbars

Hello,

Is it possible to make a flat button without a border - like the buttons on
the buttom of the Group List of Xnews.

Thanks!

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #1
3 4842
* Lucas Tam <RE********@rogers.com> scripsit:
Is it possible to make a flat button without a border - like the buttons on
the buttom of the Group List of Xnews.


Have a look at your button's 'FlatStyle' property.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in
news:c6************@ID-208219.news.uni-berlin.de:
* Lucas Tam <RE********@rogers.com> scripsit:
Is it possible to make a flat button without a border - like the
buttons on the buttom of the Group List of Xnews.


Have a look at your button's 'FlatStyle' property.


Hi,

I gave flat style a try - but there is a border. Do you know if you can
remove the border?

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #3
* Lucas Tam <RE********@rogers.com> scripsit:
Is it possible to make a flat button without a border - like the
buttons on the buttom of the Group List of Xnews.


Have a look at your button's 'FlatStyle' property.


I gave flat style a try - but there is a border. Do you know if you can
remove the border?


You are right, you won't get the same look as in Xnews. AFAIS you won't
get a ready-to-use solution in the .NET Framework (you can use a flat
toolbar, but these buttons cannot get focus, so it's not an appropriate
replacement to the button control). Have a look at
<URL:http://www.codeproject.com/>, you will find some code samples for
"ownerdrawn" buttons there on which you can base your implementation.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

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

Similar topics

0
by: Jack | last post by:
Hi, I'm looking for a RELIABLE Activex button to use in my app developed in VB6 and for now I found these 2 buttons: SMButton v2.5 from www.station-media.com STFButton/ATL v1.5 from...
6
by: Bura Tino | last post by:
Hi, I would like to have submit buttons that have 1. custom styles 2. still look like there's a light source and 3. change appearance when you hover overthem. I know there's a way to fake this...
1
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to...
1
by: Nathan | last post by:
Hello, I'm using XP-style toolbars and buttons in an application, and I'm wondering whether it's possible to put pictures on buttons with XP styles. I have buttons on one form with pictures...
2
by: Wayne | last post by:
I've been having a click around Access 2007 this afternoon and have discovered some things that range from annoying to alarming. My Access 2003 menu bars, which I, like many others, use...
8
by: mark4asp | last post by:
How can I get spans which look like buttons. These buttons have a fixed height (24px), variable width, a thin (1px) solid border and a background image. The back-ground image is a slice 24px...
15
by: Neil | last post by:
So, I tried to copy a toolbar. I have a custom menu bar for a form. Tried to copy it so that I could modify the copy and use it with another form. With no direct way to copy it, I made a copy of...
6
by: =?Utf-8?B?L2Rldi9udWxs?= | last post by:
Hello, i am using visual studio 2003 enterprise architect version. I am making apps for the .Net framework 1.1. While testing an interface, i discovered something strange. In this application...
2
by: nicstel | last post by:
Hello, I'm trying to find documentation about the xlwt (py_excelerator). I want to change the border of some cells. But the only types that I found is: double and dashed. How to do a simple line...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.