Home » U++ Library support » Look and Chameleon Technology » Strange Chameleon Problem
Re: Strange Chameleon Problem [message #13676 is a reply to message #13663] |
Mon, 21 January 2008 12:03 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Aha! I had this problem, and probably for exactly the same reasons as you did, namely thinking that you could use CtrlsImageLook with other image collections.
In fact, the definition of CtrlsImageLook is:
Quote: | void CtrlsImageLook(Value *look, int i, int n)
{
while(n--)
*look++ = CtrlsImg::Get(i++);
}
|
which means that whats happening is that you are passing in the index of the image in your image file, and the index is then used to look up an image in CtrlsImg.
The solution: Set all images individually or create your own TabsImageLook variant.
|
|
|
Goto Forum:
Current Time: Thu Mar 28 17:18:00 CET 2024
Total time taken to generate the page: 0.01097 seconds
|