フィルターのクリア

how to restore deleted items from listbox

2 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2012 年 12 月 26 日
how to restore more than one deleted items from listbox.... i could restore only one deleted item... if i delete more than one item.. how to restore all of them... please do reply....

採用された回答

Walter Roberson
Walter Roberson 2012 年 12 月 26 日
Is the question about how to change the listbox? If so, then just set() its String property to hold the revised information. You would need to have saved the information somewhere in order to restore it.
Is the question really about how to restore deleted images? If so then I talked about that in your existing thread.
  4 件のコメント
Image Analyst
Image Analyst 2012 年 12 月 27 日
Use setappdata() to store a cell array of the deleted names. In button 1 callback, use getappdata to retrieve the existing cell array, then add the deleted name, then use setappdata to save the updated cell array. In button 2 callback, simply call getappdata and retrieve the list of deleted names. Then set it equal to the string property of some listbox where you want to display the deleted names, or set it to a static text label control if you want.
Elysi Cochin
Elysi Cochin 2012 年 12 月 28 日
sir could u please show me an example....

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by