Posted by: Paul Lefebvre
by Seth Willits
After much hard work and perspiration (not really)…….. it’s done.
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


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.
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?