Hi guys,

I'm attempting to rewrite part of one of my scripts to use the new CL
plugin-like syntax.

My script sets some icons according to whether or not certain PowerPro
bars are visible on the screen�� the first icon is displayed if the
bar is visible and the second is displayed if not.

This is what I was using to accomplish the task (all one line):

*Format Item List "Menu: Bars" Item 1 IconFile Glyphs\Checkmarks.icl IconNum &(1 - 
AnyWindow("ColourSpy"))

(This is followed by a *Menu Show command.)

This appears to be the correct CL equivalent (again, all one line):

CL.SetIcon("Menu: Bars", 0, PProFolder ++ "Glyphs\\Checkmarks.icl", 1 - 
AnyWindow("ColourSpy"))

However, when this is shown as a menu, the icon is not displayed.
Instead, a generic Windows unassociated file icon is displayed.

Here's the glitch: the command is indeed working properly, because if
I follow the command with CL.SavePCF() and then open configuration,
the correct icon index is shown on the Edit List Item dialogue.

Is there any particular reason why this icon should not be displaying
on my menu? Restarting Windows has had no effect.

If I have not explained myself very well, I'm more than willing to
provide screenshots. Please let me know if you'd like some!

-- 

Alex Peters / Melbourne, Australia
PowerPro v3.8.16 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to