--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
>
> >
> > I know I read something somewhere about this and the key seemed to
> > involve Configure.WriteAllToPCF(pcfname) but I have tried that and
> the
> > command list I created still disappears when I restart PowerPro...
>
> There is an html version of the help which allows you to search
(new) > quickly the entire text for any keyword (I think you can also
set up
> the chm help with to do this). The start menu entry from powerpro
> has a reference to it.
>
> WriteAlloPCF should work, but make sure you write to a different pcf
> file from the one you are using.
>
> This command was actually intended just to help debug by letting you
> view a configuration in the config program. Its not intended as a
> general persist.
>
> I did not think that people would want to dynamically build and
> persist with cl functions. Why are you doing this?
>
> In any event, a general solution which I will look at later in the
> summer would be a cl.export() which does the same export as the
> configure program.
>
>
>
> > was surprised to note that even when it is working, the commandlist
> > name doesn't appear in the command list listbox.
>
> Not sure what you mean here. Can you be more specific about what
> you did, what you expected to see, what you actually saw?
>
I am trying to build a function that "pushes" a bar item into another
(new) command list, i.e., when one right (or left or selects froma a
context menu or whatever) clicks on a item, a new command list is
created and the item is moved into the new command list and the old
item is modified so that it displays abar/menu based on the new
command list.
The idea is to make it easy to incrementally build depth into a
configurition. When a bar gets too full of stuff, one can quickly and
easily push some items into their own bars and start a new branch from
there. Later I will figure out how to drag itemx from one bar to
another, which will give the whole thing additional substance.
If I understand what you are saying, I will have to do some background
pcf file copying (and, possible, a POwerPro restart) to achieve my
design in the current implementation. I guess I can live with that.
Here is what I did:
cl.create("clname")
cl.insert("clname","clitem")
cl.SetLabel("clname","clitem","label")
Configure.WriteAllToPCF(pcfname)
menu.show("testcl")
and I expected to see "clname" in configure.command lists.list.
However, I think, based on your design comments, that I understand
what is going on so I will try some experiments and see if I can get
around the situation.
thanx,
evan
PS: and thanks for the HTML idea.
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
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/