<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: PopUp Menus</title></head><body>
<blockquote type="cite" cite>Hello,</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>You wrote :</blockquote>
<blockquote type="cite" cite><font face="Courier New" size="+2">The
trick with hierarchical menus is that pWhichItem</font></blockquote>
<blockquote type="cite" cite><font face="Courier New" size="+2">is a
composition of the item, sub-item and</font></blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="+2">sub-sub-item you picked, sepoarated by a
"|".</font></blockquote>
<blockquote type="cite" cite><font face="Courier New" size="+2">So in
the above menu structure, if the user selects</font></blockquote>
<blockquote type="cite" cite><font face="Courier New" size="+2">item
"A23", the engine sends a menuPick to your
button</font></blockquote>
<blockquote type="cite" cite><font face="Courier New" size="+2">with
as parameter "A|A2|A23"</font></blockquote>
<blockquote type="cite" cite><font face="Courier New"
size="+2"><br></font></blockquote>
<blockquote type="cite" cite>But how is it possible to select the item
"A2" ? (this was possible with the XFCN "FullHPop"
(Rinaldi) on Hypercard).</blockquote>
<blockquote type="cite" cite>That is, I want to know if it is possible
to track a menuitem which is a menutiem of a menu and which is also a
menu with menuitems.</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Thanks</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Edouard</blockquote>
<div><br>
<br>
</div>
<div>I repeat that what you ask is not possible !!!!</div>
<div>I come from Hypercard and used the same XFCN</div>
<div>In Rev, it is not possible...!!!</div>
<div>you cannot know which submenuItem has been selected</div>
<div>Try :</div>
<div>on mouseUp</div>
<div>   answer the selectedtext of me</div>
<div>end mouseUp</div>
<div><br></div>
<div><br></div>
<div>you will see that the answer is wrong in the submenu's</div>
<div><br></div>
<div>The reason is that Apple Guidelines say it's not good to make
subMenu's in a popUp menu...</div>
<div>you have to create differents popUp menu's btns</div>
<div><br></div>
<div>sorry</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>Greetings.<br>
<br>
Yves COPPE<br>
<br>
Email : yvescoppe@skynet.be</div>
</body>
</html>