Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 186457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:39:01+00:00 2026-05-11T15:39:01+00:00

I am working on a form in C# that is used for displaying information,

  • 0

I am working on a form in C# that is used for displaying information, but I still need to allow some manipulation of the information. What I really want to do is remove the border from a combobox, this would allow me to display the information while also allowing the user to select other items in the set without having to display them all.

To be more specific I have a list of 4 or 5 email addresses, but I only want to display one at a time while allowing the user a way to easily select a different item. I have searched all over but can’t find an easy way to modify the border of a combobox, and a border less combobox will fit my needs nicely.

I just started with C# so I’m still learning, maybe I am missing something. Seems like this should be a lot easier than it’s turning out to be, hopefully somebody can help me out.

EDIT:
The form is using labels to display information, so having a combobox in the middle of it makes it look awful. Basically what I’m looking for is a Link that when clicked opens the default email program and fills in the address, but I want the drop-down button so an alternate address can be selected. I don’t want to display a huge list of addresses if I don’t have to, I just want to display one at a time. Like a combobox, but with no border.

I could probably just add a button that displays a list of the alternate addresses, but why reinvent the wheel if I can just remove the border from a combobox and have exactly what I’m looking for? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:39:02+00:00Added an answer on May 11, 2026 at 3:39 pm

    Perhaps you don’t need a ComboBox at all. Assuming you’re using Windows Forms, You could use a standard TextBox and add your list of email addresses to its AutoCompleteCustomSource (and set AutoCompleteSource to ‘CustomSource’).

    Then if you set the TextBox’s AutoCompleteMode to ‘Append’ the user will never see the full list of email addresses – they’ll just get the closes match populated in the TextBox as they type. With a bit of code-behind you might even be able to introduce the ability to cycle through the available items with the up and down arrow keys.

    Edit

    Now that you’ve updated your question, I’ll suggest a completely different approach.

    Add the ‘default’ email address as a standard Label. Heck – add it as a LinkLabel and make it clickable so it behaves like a mailto: link on a web page. Next to that label, add a normal Button. Set its FlatStyle property to ‘System’, Font name to ‘Marlett’ and caption to ‘u’, so it has a nice ‘dropdown button’ look to it.

    Now add a ContextMenuStrip to your form and add a menu item for each email address. You could do this in code pretty easily.

    Now add this Click event handler for your button:

    private void button1_Click(object sender, EventArgs e) {     contextMenuStrip1.Show(button1, new Point(0, button1.Height)); } 

    So when the button is clicked, the menu pops up displaying the ‘alternate’ email addresses. All you’ll need to do is catch the Click event of the menu items to ‘use’ the selected email address.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 124k
  • Answers 124k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Are you running on OS 3.0? I saw the same… May 12, 2026 at 1:19 am
  • Editorial Team
    Editorial Team added an answer It looks like you need to register Apache::Session::Memcached with Apache::Session::Wrapper,… May 12, 2026 at 1:19 am
  • Editorial Team
    Editorial Team added an answer Use DATENAME or DATEPART: SELECT DATENAME(dw,GETDATE()) -- Friday SELECT DATEPART(dw,GETDATE())… May 12, 2026 at 1:19 am

Related Questions

Good morning, I am working on a C# winform application that is using validation
I am working on a C# project that involves ASP.NET custom server controls. I
I am working on a project in C# at the moment which is quite
I am working on a Customer Server Control that extends another control. There is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.