c# Winforms Borderstyle FixedSingle

Posted on 2009-04-19
Medium Priority
Last Modified: 2013-12-17
Please, How can I get my c# winforms combox to have a borderstyle FixedSingle like my textboxes?

Thank You
Question by:Charles Baldo
  • 2
LVL 13

Accepted Solution

numberkruncher earned 2000 total points
ID: 24179134
As far as I am aware there is no built in ability to achieve this. However you could create yourself a custom combo box which has a "FixedSingle" style border; but, be warned that a custom combo box will never behave as well as the native one.

Here is an article which I wrote some time ago which demonstrates how to create a custom combo box. You are welcome to customize this to suit your needs.

LVL 13

Expert Comment

ID: 24179139
If you chose to customize my combo box then you only want the "PopupControl" fragment of the design because you will want to create your own visual appearance for the main drop down control.

Author Closing Comment

by:Charles Baldo
ID: 31571963
Yes I see, Oh well so much for things being easy, Thank You

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month13 days, 20 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question