Hi guys,

I am in the middle of a ColourSpy rewrite to take advantage of the
CL.Functions(), and I have found something of question.

Taken from the �CL functions for Setting Item Attributes� page of the
Help file:

> cl.SetEnabled(clname, ena)

> If ena is zero or empty, makes the specified item disabled,
> otherwise makes it enabled.

This does not appear to offer a way of disabling one specific command
list item. I am guessing that the correct syntax for this be:

CL.SetEnabled(CLName, CLIndex, Enabled)

� where CLIndex is the index of the specific item in the command list.
I have tried using this line, where CmdList points to a valid command
list:

CL.SetEnabled(CmdList, 4, 0)

This however does not disable the item in question. Has anyone else
noticed this yet, or is there something I'm missing?

-- 

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



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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