[Cuis-dev] MenuMorph modal

Hilaire Fernandes hilaire at drgeo.eu
Sun May 3 15:26:48 PDT 2020


Hi,

In DrGeo I have a special menu presenting geometric items. When the 
mouse cursor moves over one menu entry the matching items blink on the 
sketch (it uses the step morph system to do so).

I override the selectItem:method as:

selectItem: aMenuItem     selectedItem ifNotNil:[         (costumes at: 
selectedItem arguments first) stopBlinking].     aMenuItem ifNotNil:[ 
         (costumes at: aMenuItem arguments first) startBlinking].     ^ 
super selectItem: aMenuItem

However when I open such a menu with the message invokeModal, the morph 
step system does not seem to work.

Any idea. Or may be I should use differently the menu morph.

Hilaire

-- 
GNU Dr. Geo
http://drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200504/3c20c7d3/attachment.htm>


More information about the Cuis-dev mailing list