討論串[VB6 ] 怎麼使picturebox換圖
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者colawei (就是可樂)時間18年前 (2007/04/19 20:27), 編輯資訊
0
0
0
內容預覽:
這樣寫應該比較好. Private Sub Picture1_Click(). Static add As Integer. Dim pic As Variant. pic = Array("white.jpg", "blue.jpg", "black.jpg"). Picture1.Picture

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者ffing (月光喵喵)時間18年前 (2007/04/19 15:25), 編輯資訊
0
0
0
內容預覽:
我現在的想法是在picturebox上點一下,圖便會換一張. 程式碼如下. Private Sub Picture1_Click(). Dim add As Integer. add = 0. If add = 0 Then. add = 1. Picture1.Picture = LoadPict
(還有225個字)
首頁
上一頁
1
下一頁
尾頁