Force CAPS on gui edit box?
1 次查看(过去 30 天)
显示 更早的评论
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
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 Center 和 File 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!