返回列表 上一主題 發帖

[發問] listbox 可取消重選

[發問] listbox 可取消重選

請問各位專家  listbox 可取消重選 要怎麼寫 謝謝 !

test5.rar (9.89 KB)

max

本帖最後由 Hsieh 於 2011-12-20 16:17 編輯

回復 1# user999
  1. Private Sub CommandButton1_Click()
  2. With ListBox1
  3. For i = 0 To .ListCount-1
  4. .Selected(i) = False
  5. Next
  6. End With
複製代碼
學海無涯_不恥下問

TOP

回復 1# user999
  1. Private Sub CommandButton1_Click()   
  2.    ListBox1.List = ListBox1.List
  3. End Sub
複製代碼

TOP

感謝諸位專家的幫忙,謝謝!
max

TOP

        靜思自在 : 人生沒有所有權,只有生命的使用權。
返回列表 上一主題