disable ctlr +a for Listbox Gui

1 次查看(过去 30 天)
Yassine.Sk
Yassine.Sk 2017-8-22
评论: Yassine.Sk 2017-8-23
hello, is there is a solution to disable using ctrl+a in list box, but having the possibility to selectionne more one item

回答(1 个)

Jan
Jan 2017-8-22
No, this cannot work. The effect of Ctrl-A cannot be restricted from the Matlab-level.
Please explain, what you want to achieve any why selecting all elements is a problem. Then it is likely that an easier solution can be found.
  1 个评论
Yassine.Sk
Yassine.Sk 2017-8-23
Thanks Jan I want to disable Cntl-A for selecting all element,because in my gui it's a accelator for a uimenu , so when the user active Cntl-A and the listbox is also is the current object , the prority is for selecting all element ,me i don't want that

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by