Moving to MC 2.7
Tariel Gogoberidze
tariel at mac.com
Sun Oct 22 17:32:14 CDT 2006
On Sat, 21 Oct 2006 21:41:17 -0500, J. Landman Gay wrote:
>> Before building PowerPC standalone I moved "icon chooser" sub stack to
>> my stack via "Resource Mover" and when opening this stack in MC 2.7
>> Dev
>> environment the icon shows up fine. But after I'm building standalone,
>> the icon is disappearing (no icon at all).
>
> This is probably a stupid question, but did you save the stack after
> adding the icons? I'm sure you probably did, but it doesn't hurt to ask
> the obvious. You could try adding them to stack again and then checking
> to make sure the group is really in the stack.
> Maybe something went
> wrong with the resource mover. It's a long shot, I admit.
Actually that was a brilliant shot :)
It seems there is a long standing bug in "Resource Mover" ..
local iconList
on mouseUp
local sourceStack, sCount, posoffset, newstuff
send "mouseUp" to button "Delete Resources"
put the motifIcons of stack "Answer Dialog" & cr \
& the macintoshIcons of stack "Answer Dialog" & cr \
& the windows95Icons of stack "Answer Dialog" & cr \
& the osxicons of stack "Answer Dialog" & cr \
& the xpicons of stack "Answer Dialog" into iconList
...........
Note that there is no cr AFTER iconList ! and the list has the
following icon IDs
328
329
330
331
992
993
994
995
996
997
998
999
10811
10812
10813
10810
10801
10802
10803
10800
Now, later...
if the hilite of button "MetaCard Icons" then -- if check box checked
set the defaultStack to sourceStack
checkStack
and the handler checkStack has
if the icon of button b of card c is not 0
then put the icon of button b of card c & return after iconList
I have only one icon in my stack and it's icon is 359
So, because there is no return after iconList it puts 359 after 10800
and the last line of the list is now
.....
10800359
when it should be
.....
10800
359
As a result 2 icons are lost, one from default icon list (10800) and
one my icon (359)
Hope I was clear in description and may be Klaus should fix it for next
release.
All it takes is to put return after iconList when it's filled with
default icons under MouseUp
& the xpicons of stack "Answer Dialog" & cr into iconList
best regards
Tariel
More information about the metacard
mailing list