Borrar filtros
Borrar filtros

Force CAPS on gui edit box?

1 visualización (últimos 30 días)
Edmund Paul Malinowski
Edmund Paul Malinowski el 24 de Nov. de 2015
Editada: Kirby Fears el 24 de Nov. de 2015
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 comentarios
Edmund Paul Malinowski
Edmund Paul Malinowski el 24 de Nov. de 2015
I mean String, not value :)
Kirby Fears
Kirby Fears el 24 de Nov. de 2015
Editada: Kirby Fears el 24 de Nov. de 2015
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Model, Block, and Port Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by