vb文字框問題

2022-08-31 04:40:18 字數 641 閱讀 8072

1樓:

private sub text3_lostfocus(index as integer)

text3(1).selstart = 0text3(1).sellength = len(text3(0).text)

end sub

你寫法有錯誤private sub text3(0)_gotfocus() 應該寫是 text3_gotfocus()

你在程式裡用select case index 判斷index 的值百分之百正確,good luck

有什麼不明白的qq86711527

2樓:匿名使用者

不能是private sub text3(0)_gotfocus()text3(0).selstart = 0text3(0).sellength = len(text3(0).

text)

end sub

應該是private sub text3()_gotfocus(index as integer)

if indxe=0 then

text3(0).selstart = 0text3(0).sellength = len(text3(0).text)

end if

end sub

vb文字框陣列問題文字框1有12345文字框2有

private sub command1 click dim a1 as string,a2 as string,a3 as string,a4 as string dim i as integer,j as integera1 split text1.text,a2 split text2.tex...

跪求vb設計變換文字框文字的字型字型字號

在 中編譯 font fontname fontcolor 跪求vb的變換文字框文字的字型 字型 字號及顏色的程式 知道的說下 妹子感激你 字型和字型和字號都在font裡面,顏色在forecolor裡可以設定。如果要用 的話就是 設定具體字號是 text1.fontsize 45 ps 雙引號內的字...

css文字框中文字顏色的設定,css文字框想讓輸入的文字顏色明顯些,該怎樣設定?

這位你好,背景色是background color ff0000 顏色是color 00ffff css文字框想讓輸入的文字顏色明顯些,該怎樣設定?css文字框輸入字型 顏色 10 placeholder 就這樣的顏色要比輸入的文字淺,如果你要一致,你可以重構html來模擬這個效果.文字框裡面有內容...