Hello, In a morph hierarchy I would like one morph child to be modal (i.e. all other morphs are locked and the system is waiting for the user action on this modal morph). I need this for dialog encrusted in a parent morph (instead of windowed dialog flying around the system). In the screen shot example, only the "ok" button is actionable. I can hack with appropriate lock and unlock in the morph hierarchy, but it is not clean and not exactly modal because the system does not wait for the user answer. Any idea to do it more cleanly? Thanks Hilaire -- Dr. Geo http://drgeo.eu
look at the implementation of #callInWorld for Magritte-Morph. I always liked that solution :) Esteban On 23 Apr 2014, at 10:46, Hilaire Fernandes <hilaire.fernandes@gmail.com> wrote:
Hello,
In a morph hierarchy I would like one morph child to be modal (i.e. all other morphs are locked and the system is waiting for the user action on this modal morph).
I need this for dialog encrusted in a parent morph (instead of windowed dialog flying around the system). In the screen shot example, only the "ok" button is actionable.
I can hack with appropriate lock and unlock in the morph hierarchy, but it is not clean and not exactly modal because the system does not wait for the user answer.
Any idea to do it more cleanly?
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu <modalWidget.jpeg>
which now I remember I always complemented it âweb-likeâ: I added a transparent sticky morph behind, so all the morphs become unaccessible⦠I do not remember why I needed it, thought. Esteban On 23 Apr 2014, at 10:51, Esteban Lorenzano <estebanlm@gmail.com> wrote:
look at the implementation of #callInWorld for Magritte-Morph. I always liked that solution :)
Esteban
On 23 Apr 2014, at 10:46, Hilaire Fernandes <hilaire.fernandes@gmail.com> wrote:
Hello,
In a morph hierarchy I would like one morph child to be modal (i.e. all other morphs are locked and the system is waiting for the user action on this modal morph).
I need this for dialog encrusted in a parent morph (instead of windowed dialog flying around the system). In the screen shot example, only the "ok" button is actionable.
I can hack with appropriate lock and unlock in the morph hierarchy, but it is not clean and not exactly modal because the system does not wait for the user answer.
Any idea to do it more cleanly?
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu <modalWidget.jpeg>
Hello Esteban, I am not sure it matches the situation. Did you see my screen shot with the modal morph embedded in a parent morph? All but the modal morph should be locked but perfectly visible. Hilaire Le 23/04/2014 10:51, Esteban Lorenzano a écrit :
look at the implementation of #callInWorld for Magritte-Morph. I always liked that solution :)
-- Dr. Geo http://drgeo.eu
participants (2)
-
Esteban Lorenzano -
Hilaire Fernandes