Force CAPS on gui edit box?

1 次查看(过去 30 天)
Edmund Paul Malinowski
编辑: Kirby Fears 2015-11-24
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 个评论
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 个)

类别

Help CenterFile Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by