- 帖子
- 323
- 主題
- 6
- 精華
- 0
- 積分
- 313
- 點名
- 0
- 作業系統
- xp
- 軟體版本
- 2k
- 閱讀權限
- 20
- 性別
- 男
- 註冊時間
- 2015-6-24
- 最後登錄
- 2025-5-3
|
5#
發表於 2016-4-2 21:49
| 只看該作者
(1)
listbox 會自動縮放 height
Private Sub CommandButton1_Click()
ListBox1.ListStyle = fmListStylePlain
ListBox1.ListStyle = fmListStyleOption
End Sub
(2)
listbox 有瑕疵
連按很多次 CommandButton1 後, 你會看到瑕疵
瑕疵出現後, 移動一下 Form
Private Sub CommandButton1_Click()
h = ListBox1.Height
ListBox1.ListStyle = fmListStylePlain
ListBox1.ListStyle = fmListStyleOption
ListBox1.Height = h
End Sub |
|