フィルターのクリア

Is it possible to set a uitable cell as a spinner?

5 ビュー (過去 30 日間)
Alberto Rinaldi
Alberto Rinaldi 2017 年 2 月 17 日
回答済み: Walter Roberson 2017 年 2 月 17 日
Hi everyone,
I have downloaded in the File Exchange the function to create a normal spinner with arrows: https://www.mathworks.com/matlabcentral/fileexchange/26656-uispinner
My question is, is it possible to set a column of uitable cells (in a GUI) as spinner cells?
If yes, how can I do it?
Thanks!
Alberto

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 17 日
Not automatically, no.
It is possible to set a uitable entry to HTML that codes an IMG reference, but it is not easy to make the cells a nice size to contain an IMG reference, and I do not recall whether animated GIF are supported. If they are not, then you would have to keep changing the content of the cell to update the IMG reference.
If you are happy with "ASCII art" then you could keep updating a string entry in a uitable; you could use a timer to do that.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by