Bruce,
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
It would make since that cl.RemoveAll("Bar_PPNotes") would return 0
after calling to remove an existing bar or menu. Are you resetting
the name to NULL?
Ted
PS there maybe still a bug in the menu processing of 4.2.02. Both
versions you posted broke a PCF menu that I've been using since 3.8.
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.
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/