[Cuis-dev] moving focus with tab key

Mark Volkmann r.mark.volkmann at gmail.com
Tue Jan 28 13:06:17 PST 2025


Thanks Juan! I'll see if maybe I can create a subclass of TextModelMorph
that has that behavior. Perhaps each instance of the subclass can hold a
reference to another morph that should take focus when the tab key is
pressed. Maybe I can create a set of morphs that have that ability such as
checkboxes, radio buttons, and so on. That would enable creating user
interfaces that are completely keyboard-driven as is common in web
interfaces.

On Tue, Jan 28, 2025 at 3:01 PM Juan Vuletich <juan at cuis.st> wrote:

> On 1/24/2025 9:17 PM, Mark Volkmann via Cuis-dev wrote:
>
> In Cuis Smalltalk using Morphic morphs, is there a relatively easy way to
> enable using the tab key to move focus between text inputs like
> TextModelMorph instances?
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
>
> Not really, because tab is a valid character in TextModelMorph. See
> #keyboardFocusPrevious and #keyboardFocusNext . Maybe tab could be disabled
> as a character for specific morphs, so we can enable it for focus control.
>
> Cheers,
>
> --
> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>
>

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250128/a8d9d66d/attachment.htm>


More information about the Cuis-dev mailing list