--- "Ted Wall" <[EMAIL PROTECTED]> wrote:
> This doesn't work for an existing bar imported using ImportCL:
> 
> IF(cl.Exists("Bar_PPNotes"))DO
> cl.RemoveAll("Bar_PPNotes")
> 
> ELSE
> 
> Configure.ImportCL(?"C:\..\CL_Bar_PPNotes.ini")
> BAR.Show("Bar_PPNotes")
> ENDIF
> QUIT
> 
> ;�����������������
> but this does work:
> ;�����������������
> 
> IF(ANYWINDOW("Bar_PPNotes"))DO
> cl.RemoveAll("Bar_PPNotes")
> 
> ELSE
> 
> Configure.ImportCL(?"C:\..\CL_Bar_PPNotes.ini")
> BAR.Show("Bar_PPNotes")
> ENDIF
> QUIT

cl.RemoveAll() differs from would-be cl.Destroy(), I think.
Use instead
if(cl.Exists("Bar_PPNotes") && cl.Length("Bar_PPNotes")>0)do


Sean





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