VB程式設計小作業

2022-03-13 13:46:26 字數 492 閱讀 3638

1樓:匿名使用者

那要看你的背景是如何弄上去的。

如果背景是一幅圖,而且是直接在窗體屬性中裝入的,就用private sub command1_click()form1.picture = loadpicture("")end sub

private sub form_load()command1.caption = "窗體背景消失"

end sub

2樓:匿名使用者

是**嗎?

只要你把你想消失的東西.visible=false(不確定是false還是true)就可以

3樓:匿名使用者

弄一個form窗體,然後拖一個picturebox窗體到form上,根據form窗體調整picturebox的大小,然後用picturebox裝載**.

下面再給command按鈕新增** ,picturebox裝載的路徑為空就行了

就這麼簡單

VB程式設計題目,vb程式設計題目

private sub mand1 click dim i as integer,j as integer,k as integer dim a 1 to 10 as integerdim max as integer,min as integer,pj as single dim sumnum a...

vb程式設計問題,VB程式設計問題

private sub command1 click text1 for i 1 to 45 7 for j 1 to 45 6 2for k 1 to 45 3 5if i j 2 k 5 45 thenn n 1 end if next next next text1 n end sub pri...

VB程式設計問題,VB程式設計難嗎?

非常簡單,你看插圖,一切都在圖中。如下 在窗體中新增一個label1 兩個預設command1和command2。一切屬性預設 不用修改。private sub command1 click if command1.caption 有邊框 then label1.borderstyle 1 comm...