フィルターのクリア

Force CAPS on gui edit box?

1 回表示 (過去 30 日間)
Edmund Paul Malinowski
Edmund Paul Malinowski 2015 年 11 月 24 日
編集済み: 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 件のコメント
Edmund Paul Malinowski
Edmund Paul Malinowski 2015 年 11 月 24 日
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 件)

カテゴリ

Help Center および File ExchangeModel, 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