A weird thing:

According to the docs, you can attach an -imagelist to a TabStrip, and then specify the image index when you add a Tab.

But the sample app for TabStrip attaches an ImageList and specifies _Bitmap_ objects.

According to the XS code (just a brief look), it should work like the docs say, and according to the API, the ImageList index is the only way to go.

When I try to do the "right" thing (with image indexes), it doesn't work.

So... Any working piece of code I could take a glance at?


/J
------ ---- --- -- -- -- -  -   -    -        -
Johan Lindström                    Boss Casinos
Sourcerer                     [EMAIL PROTECTED]
                 http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail


Reply via email to