Posted On: Monday, October 15th, 2007 (Controls, ResExcellence, Source Code)
Posted by: Paul Lefebvre

by Seth Willits

After much hard work and perspiration (not really)…….. it’s done.

Splitter Control

As I originally thought, this code will take forever to explain and I don’t think many of you will want to read it anyway. It works and that’s all you need to know, right? :) If you have any questions about how this works, just shoot me an email and I’ll be happy to answer it. Also, if you have any changes that make it not-as-ugly on Windows… I may look at those too.

Download Splitter Control REALbasic project

Originally published by ResExcellence
Reprinted with permission

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

This entry was posted on Monday, October 15th, 2007 at 10:34 am and is filed under Controls, ResExcellence, Source Code. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Splitter Control”

  1. Edwin on November 11th, 2007 at 12:55 pm

    I tried the splitter control. I love it. But there is one thing I tried to fix, and didn’t really succeed. When resizing the window the controls resize along with the window, PERFECT! Only one problem: somehow the contained controls (in the example project the listboxes and editfields) need to be refreshed. Is there a way to trigger an event within the splittercontrol (not in the host project) whenever the size of the window has changed?
    And also, whenever the splittercontrol is changes in size, fields disappear. They will appear whenever I click a divider.

  2. Paul Lefebvre on December 6th, 2007 at 4:21 pm

    Edwin,

    Yes, I also see this on OS X (10.5). I didn’t write this code, but tried playing around with it a bit. Unfortunately, I didn’t come up with a solution.

    Maybe someone else out there might have an idea?

Leave a Reply