改变案例 [英] Change Case
本文介绍了改变案例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个键盘程序,我使用文本框作为输入和输入按钮。有没有人知道我可以使用大写锁定功能
i目前正在尝试2使用复选框但问题出现后我取消选中该框,因为如果我按下另一个按钮的字母仍然在CAPITALS
I have created a keyboard program i am using a textbox as the output and buttons for the input. is there anyone who knows hw i could use the caps lock feature
i am currently tryin 2 use a check box however the problem arises after i uncheck the box because if i pres another button the letters still apear in CAPITALS
推荐答案
中你可以给出处理大写字母的代码吗?
它会有很大的帮助
can you give the piece of code that handles the capitals?
it would help very much
到目前为止,我已经提出了这个代码:
但是当我取消选中chekbox时,文本框中的所有内容都会变为小写:
Well so far I have come up with this code:
but again when I unchek the chekbox everything in the text box turns to lowercase:
展开 | 选择 | Wrap | 行号
如果你试图模拟一个大写按钮,我会用这样的东西:
If your trying to simulate a caps-button, I would use something like this:
展开 | 选择 | Wrap | 行号
这篇关于改变案例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文