--- In [email protected], sgp <[EMAIL PROTECTED]> wrote:
>
> brucexs wrote:
> 
> > Well, the help does say "command list"...
> 
> what I'm saying is that it should return the CL index corresponding 
to the 
> menu.folder command, since a menu folder was indeed executed.
> 
> Indeed it does, as long as menu.folder isn't embedded, but when it's 
> embedded cl.getlastmenusel returns ""

OK, I see.  What is happening internally is that a data structure is 
created to represent the menu.   For plain command lists, that 
structure has one element per cl item.  But if you embed a folder (or a 
*window menu), the elements of the embedded folder/window are copied, 
replacing the embed command, and PowerPro loses the fact that the 
embeded info originally came from a command list item.

So in short, even if I was still working on PPro, I likely could not 
get this to do what you want easily.

>


Reply via email to