Flex 3:用一个按钮写入多个字符(就像手机键盘一样,3也可以用于D、E、F)

发布于 2024-12-29 11:21:25 字数 134 浏览 6 评论 0原文

我正在实现一个小键盘,单击按钮会将相应的字符添加到文本输入中。然而,有些按键应该用于插入多个字符,例如手机键盘,其中按钮“3”也可以用于插入“D”、“E”或F。 哪种方法是实现这一目标的最佳方法?我对 Flex 还不太有经验。

提前致谢!

I'm implementing a small keypad where the click on a button will add the respective character to a text input. However, some keys should be used to insert more than on character, like a cellphone keypad where the button "3" can also be used to insert "D", "E" or F.
Which would be the best approach to accomplish this? I'm not very experienced yet with Flex.

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终陌 2025-01-05 11:21:25

我刚刚为你实现了一个“从开始”。希望这对您有帮助;)

http://pastie.org/3314957

在此处输入图像描述

I just implemented you a "start from". Hope this helps you ;)

http://pastie.org/3314957

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文