Re: Greg Haberek - xControls

new topic     » goto parent     » topic index » view thread      » older message » newer message

> I've got a couple of things with xControls that I want to run by you.  The
> first is I'm trying to build a tab-control-within-a-tab-control feature into my
> application and using xControls I'm getting considerable flickering from the
> nested tab.  The following example should show you what I mean:
>
> (code snipped)
>
> If you move the horizontal bar that divides the two windows you should see
> what I mean.

Without even running the code, I can tell you that tab controls don't
play well with manage(). If you check the code, you'll find a few
unique cases where I have to check for TabItem and TabControl.

> The second is a request to maybe make the library easier to use.  In the
> example above, I have to create a window as a child of a tab item in order for
> the placement to work.  It would sure be nice if that wasn't a requirement (or at
> least I think it's a requirement).  IOW, just be able to create controls as a
> child of the tab item and be able to use splitters.

This goes along with what I said above, for some reason unbeknownst to
me, placing the controls just on the TabItem leads to weird (and I
mean *weird*) repaint issues. Sometimes the controls show up,
sometimes they don't. Its also why you get the flickering.

The only sure-fire option I've come up with is to write my *own*
TabControl for xControls, maybe TabControlEx or something. That way I
can control the behavior from the ground up. But that's a lot of work,
and integrating it with the existing Win32Lib functions may prove abit
cumbersome.

I'll go through the code this weekend and see if I can improve
anything. Its been a few months since I've had a go at xControls. I'm
currently working on a major Euphoria-driven project for financial
gain, so it's been taking up all of my free coding time. :)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu