<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV><FONT face=Arial size=2>I have made a class say: MyClass.</FONT></DIV>
<DIV><FONT face=Arial size=2>In that class I have made a SimpleButtonMorph that 
calls a metod in MyClass: myMethod.</FONT></DIV>
<DIV><FONT face=Arial size=2>In myMethod I start up a CustomMenu similar to 
this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>| menu |</FONT></DIV>
<DIV><FONT face=Arial size=2>menu := CustomMenu new.</FONT></DIV>
<DIV><FONT face=Arial size=2>menu title: 'Delete?'.</FONT></DIV>
<DIV><FONT face=Arial size=2>menu </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; add: 'Yes' </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; target: self </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; selector: #myMethod2 
</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; argument: nil.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and I have made a method in MyClass called: 
myMethod2.</FONT></DIV>
<DIV><FONT face=Arial size=2>I want the CustomMenu to call myMethod2 in MyClass 
but this does not happen!?</FONT></DIV>
<DIV><FONT face=Arial size=2>The CustomMenu appears when I click the button but 
after that nothing happens.</FONT></DIV>
<DIV><FONT face=Arial size=2>I must be thinking wrong somehow?</FONT></DIV>
<DIV><FONT face=Arial size=2>What am I doing wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2>Many thanks in advance!</FONT></DIV>
<DIV><FONT face=Arial size=2>Marcus</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>