Archives / 2004 / September

  • WindowsForms ComboBox Auto DropDownList Width

    Monday, September 27, 2004
    On a project I'm working on, I use some ComboBoxes that act as a breadcrumb control for a Wizard that I wrote, so the user can jump throughout the wizard to different steps easily and understand where they are.  Unfortunately, the ComboBoxes are dynamically filled from an admin section and can be anywhere from a few characters to a few hundred characters.  This would make the ComboBoxes very wide.  Unfortunately, the ComboBox doesn't automatically change the DropDownWidth Property based off of the items in the ComboBox.  I went ahead and wrote a Method to do that (This could be added
  • VS-Like TreeView Control and updates

    Saturday, September 25, 2004
    Man oh man I have been out of it.  A lot has been going on in my life and it's been over a month since I last blogged.  I've been really busy with work and have been doing some writing.  I am also now engaged and will be getting married May 28th 2005!  Now, no more excuses for why I haven't been blogging and let's get to it!  ;) I saw this very cool control on Code Project and thought I'd share.  It's a 3 state TreeView Control meaning when you check the CheckBox next to a TreeNode it checks all