Artificial/simulated key press
Afficher commentaires plus anciens
Hi
I'm trying to make a work-around for the problem of not being able to automatically select all text in an edit box when selecting the box. The solution of pressing "ctrl+a" just isn't efficient enough.
So, what I'm wondering is the following: Is there a way for MatLab to simulate a key-press - an artificial key press - so that i can execute a "ctrl+a" on selecting the edit box?
The goal is to make the edit box work as a "normal", select-all-on-press edit box.
If you have informations regarding if this is or isn't possible, please reply. Thanks in advance.
/Tobias
Réponse acceptée
Plus de réponses (1)
Paulo Silva
le 28 Jan 2011
2 votes
http://www.mathworks.com/matlabcentral/newsreader/view_thread/243113
Catégories
En savoir plus sur Language Support dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!