- This topic has 9 replies, 3 voices, and was last updated 10 years, 4 months ago by Support.
-
AuthorPosts
-
July 6, 2014 at 2:17 pm #36193TAZParticipant
I am having to go through each of my sVirtualImageList controls and uncheck “UseCache”.
I am using the sVirtualImageList for the the sToolBar ImageList.
If “UseCache” is checked the images do not appear.
Is this a bug ? Please educate me about its use if this is not a bug.
Thanks.
July 7, 2014 at 8:03 am #52125SzakiLaciParticipant'TAZ' wrote:I am having to go through each of my sVirtualImageList controls and uncheck “UseCache”.
I am using the sVirtualImageList for the the sToolBar ImageList.
If “UseCache” is checked the images do not appear.
Is this a bug ? Please educate me about its use if this is not a bug.
Thanks.
Hi,
I've asked the programmer (Serge) to rewrite the sVirtualImageList component, so it's NOT cashing each and every picture at the beginning immediately , but should wait until any of the pictures being accessed. This way it speeds up program loading, and using less memory. (Storing ONLY those being used.)
But it should automatically appear, and it should render those, you wish to show! So it is probably a small bug.
I will test it today with the newest stable relase and report back.
If you want a fast solution, you can try to render each picture at the beginning by using this new procedure:
myVirtList.RenderCacheNow(-1); // parameter -1 means it should render ALL
Turning OFF the cache is using less memory, but slowing down paint process, because it has to calculate stretching and softening each time.
Cheers
PS: anyway … what do you mean by “each of my sVirtualImageList controls” ? Do you have more than 1-2 ? Why?
July 7, 2014 at 11:02 am #52126TAZParticipantSimple. The toolbar has imagelist, hot imagelist and disabled imagelist. Therefore, I have need 3 imagelist which means I need 3 virtualimagelist controls too. That is unless there is a better way to utilize this.
July 9, 2014 at 9:31 am #52141SupportKeymasterHello!
I think I have found a reason of the problem and I will fix it in the next release.
July 9, 2014 at 12:10 pm #52142SzakiLaciParticipant:offtopic:
'Support' wrote:Hello!
I think I have found a reason of the problem and I will fix it in the next release.
Great ! … you where faster than me 🙂
I have too many work now, and sadly could not find the reason why I can not compile with the new release.
Installed into a new directory, and now it does not find the AC… files, even if I add the folder to the search path :a1: )
Spent already 4 hours.
July 9, 2014 at 12:21 pm #52143SupportKeymaster'SzakiLaci' wrote:Great ! … you where faster than me 🙂I have too many work now, and sadly could not find the reason why I can not compile with the new release.
Installed into a new directory, and now it does not find the AC… files, even if I add the folder to the search path :a1: )
Spent already 4 hours.
You saw topics in the “Installation” part? Maybe your problem has been solved there already?
July 9, 2014 at 5:28 pm #52144SzakiLaciParticipant:offtopic:
'Support' wrote:You saw topics in the “Installation” part? Maybe your problem has been solved there already?
OMFG … THANKS for the help ! :bravo:
I haven't ever realized there is a pinned INSTALLATION part of the forum. Saw only the Tips and Troublebleshooting topics yet. With this I was able to fix it in 1 minute 😛
(had to add search path to Tools/Environment options/Library/Library too. :18: )
1.) Can you please add this link :
http://www.alphaskins.com/showdoc.php?l=en&n=1
to the install.txt file to your package at the 2th line with:
“
More detailed installation with pictures:
http://www.alphaskins.com/showdoc.php?l=en&n=1
“
…
and also it would be cool, if you could copy ALL Common questions, and typical error msgs to the end of text …
from here:
http://www.alphaskins.com/showdoc.php?l=en&n=2
This had saved me 4 hours 🙁
July 9, 2014 at 11:37 pm #52146SzakiLaciParticipant'TAZ' wrote:Simple. The toolbar has imagelist, hot imagelist and disabled imagelist. Therefore, I have need 3 imagelist which means I need 3 virtualimagelist controls too. That is unless there is a better way to utilize this.
I wrote a long long letter this afternoon, clicked Send … and nothing happened 🙁 web site was off-line. So I've lost it.
The short version:
– Yes, it's a bug. Tested. Serge will probably fix it soon 😀
July 10, 2014 at 5:38 pm #52148SzakiLaciParticipantv9.11 >> toolbar problem solved ! That was fast, congrat…
Anyway,
I have found an other strange behaviour about memory consumption :
(Tested with the virt.list. DEMO program downloaded from this site.)
1. if I turn OFF caching = 40.2 MB
2. than I turn it ON >> = 33.7 MB (it drops DOWN ! ???)
3. run the test = 51.4 MB
4. … see 1.)
So basicly it seems like it works the opposite way it should, but the speed test shows other way !
– if I turn OFF cash > nothing should change ! (Already cached pictures should remain in memory)
– if I turn it on > max the first 4 visible pictures should be cached
Why is that ?
July 12, 2014 at 6:42 am #52166SupportKeymaster'SzakiLaci' wrote:I have found an other strange behaviour about memory consumption :…
Why is that ?
Interesting. I will research that.
-
AuthorPosts
- You must be logged in to reply to this topic.