Hi,
I want to save and loads HotSpots at runtime with:
HotSpotImage1.HotSpots.SaveToFile();
HotSpotImage1.HotSpots.LoadFromFile();
This works but I have one issue. By loading the HotSpots, they load without propertys. Means, the position of the HotSpots is loaded correct but the rest, the colours, the click/hover/selected states and so on will not be loaded.
Does I have to save them extra?
Greetings,
Andreas Ernst
Hello?
I tested it on two different VM's, even a clear Delphi Version.
Only the HotSpot Positions get saved, not the HotSpots propertys.
Please help me to fix this.
Can't be reproduced.
As you should see in the attached sample, the orange hover color IS persisted.
Yes, I checked the Sample.
There the Image is predefined.
I have the Bug - reproducable - when I make at runtime a
HotSpotImage.HotSpots.clear;
HotSpotImage.visible := false;
Load the same Picture again and then load the HotSpots of this from File.
What I make in the Delphi IDE works fine. Only by loading and/or saving at runtime I have this Problem.
If you sill couldn't reproduce it, I can upload you a Sample from me.
Greetings,
Andreas Ernst
(Sorry for posting in differend Channels. After posting here I saw that the Forums not have much Traffic and so I wasn't sure if I get an Answer here.)
please contact us by email with your sample (and respect the guidelines for submitting attachments: http://www.tmssoftware.com/site/support.asp)