[Cuis-dev] How to make a morph modal?
Juan Vuletich
JuanVuletich at zoho.com
Wed Feb 16 15:22:58 PST 2022
Yes. See #keyboardFocusChange:
Hope this helps.
On 15/02/2022 07:01 p.m., Hernan Wilkinson via Cuis-dev wrote:
> Hi Hilaire,
> sadly I'm not an expert in Morph and I do not have time now to look
> at it.
> I think your idea will work, but for sure Juan's opinion is the most
> important in this case.
>
> Cheers!
> Hernan.
>
> On Tue, Feb 15, 2022 at 5:59 PM Hilaire Fernandes via Cuis-dev
> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
> I think I will borrow the behavior of the menu morph and apply it
> to the pluggable list of morphs.
>
> Not sure if it can be generalized
>
> Le 15/02/2022 à 17:56, Luciano Notarfrancesco a écrit :
>> One way to do it is to use a transparent morph covering all the
>> world and make it handle mouse down events, and close the dialog
>> on mouse down. I thought about doing something like that for all
>> dialogs. For example for the “find class” dialog (alt-f in a
>> browser), because closing it is awkward (you have to put the
>> mouse pointer over the text input to make it get the keyboard
>> focus and then press esc). Perhaps it would be better if modal
>> dialogs kept always the keyboard focus until closed. Or maybe we
>> should avoid modal dialogs completely and find other ways to do
>> what they do. Not sure what’s the best solution, but I think this
>> something worth thinking and discussing together.
>>
> --
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
> --
> <https://10pines.com/>
>
>
> Hernán Wilkinson
>
>
> Software Developer & Coach
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 11 6091 3125
>
> @HernanWilkinson
>
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220216/8e2af0c9/attachment.htm>
More information about the Cuis-dev
mailing list