Hi Bruce, in draw.clw:
Open(iconFile, 0)
if ErrorCode()
self.trace('Unable to open icon file ' & Clip(locIconFileName) & ': ' & Error()) !<<<<<ADDED
self.ErrorTrap('Unable to open icon file ' & Clip(locIconFileName) & ': ' & Error(), 'LoadIcon')
Return(0)
end
Ive added self.trace lines to draw.clw and in the open of the .ico , using a lot of icons and when move the map, sometimes it gives File already open error.
[6872] [Draw][4] Unable to open icon file MapPinBlue.ico: File Already Open
Ive added
Close(iconFile)
before and the problem goes away.
or may be better to use just Share(IconFile)
May you please add it to draw.clw ?
Thanks