Force CAPS on gui edit box?

Hey all,
Is it possible to force gui edit boxes to be in capitals? Can this be set in guide or is done by processing the values on a callback somewhere?
Thanks,
Paul..

2 个评论

I mean String, not value :)
Kirby Fears
Kirby Fears 2015-11-24
编辑:Kirby Fears 2015-11-24
In the callback you can reassign the edit box contents to equal upper() of the contents. When the user is typing, it will be in whatever case until they hit enter or otherwise trigger the callback. If that works for you, give it a shot.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by