I’m currently working on a project for a client that requires a cross-platform UI class which is pretty standard. It has working alternatives on Windows, Mac, Linux, and anything else you can think of. They want a certain style within the application, regardless of OS, and I don’t blame them for it.
Now, that’s all fine and dandy…so what’s the problem? Windows + REALBasic = Problem. We all know that flicker on Win32 is a pain in RB. I’ve managed, over the years, to work out a system to negate that issue. Except, of course, in this circumstance.
We have a custom UI class, inside that we have a PagePanel, and inside that we have various different elements. On Mac, everything works beautifully. Once we switch over to Win32, however…ugh. See, that class itself is flicker-free. Until we put the PagePanel on it and start changing values, that is. Anytime that PagePanel’s value changes, our entire custom class has to be redrawn with one of those beautiful little flickers. What a pain.
About the only thing I can think of to get around this problem, would be to manage showing/hiding of child elements in code, and drop the PagePanel. Of course, that’s not the route we want to take with this project.
Anyone else have an idea?