Library code snippets

Flatten That Combo Box, Man!

In .NET, Microsoft has given us many things to work with. It's nice how they standardized properties like Text and Name on most controls. However, what's the story with the Flat look

Some controls have a flat look as a property, either through the FlatStyle property or the Border property. I love the flat look and have been using it for all my controls, except one. The combobox. Do you know how funny a data entry form looks when all its text boxes, checkboxes, radio buttons, command buttons,

Download the source code and see how to do it!

Note: This is based on source code published on CodeProject by Carlos H. Perez, and has been ported to VB.NET

Comments

  1. 07 Oct 2003 at 02:10

    Trying to figure out the .Net Visual Basic I must say that it is a bit confusing. How ever your example considering flat objects worked fine and more than that, I figure out the way you do it. Is pretty cool.

  2. 01 Jan 1999 at 00:00

    This thread is for discussions of Flatten That Combo Box, Man!.

Leave a comment

Sign in or Join us (it's free).

Stacey Brown
AddThis

Related podcasts

  • xpert to Expert: Inside Concurrent Basic (CB)

    "Concurrent Basic extends Visual Basic with stylish asynchronous concurrency constructs derived from the join calculus. Our design advances earlier MSRC work on Polyphonic C#, Comega and the Joins Library. Unlike its C# based predecessors, CB adopts a simple event-like syntax familiar to VB progr...

Want to stay in touch with what's going on? Follow us on twitter!