> 
> It would make since that cl.RemoveAll("Bar_PPNotes") would return 
0 
> after calling to remove an existing bar or menu.  

It might make sense but that is not the way it is designed to work.  
Removeall just removes all the items and sets the length to zero.  
Due to some design constraints, I cannot easily remove the entire 
command list structure without going through the time consuming 
reconfiguration restart.

So possible you may want
if (cl.exists(xxx)) do
   if (cl.length)>0)
...

An "and" probably won't work since PowerPro fully evaluates all 
expressions.

Another approach would be to always create the command list, and use 
its length only as a guide to whether it exists.


> Of course, it could be an error in an ImportCL that has 
overwritten 
> this menu and hasn't shown up until now. But not having a Text 
> version of the PCF file like we use to have before 4.0 has made 
this 
> difficult to debug.

Use Configure writalltopcf to write to (say) all to pcf, run 
pproconf.pcf on that pcf.








Attention: PowerPro's Web site has moved: http://www.ppro.org 
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