?? 107.txt
字號:
突破 TextBox 32 K 的限制
在Visual Basic中,TextBox所能顯示的Text只有32K Bytes,若要同時顯示 32K Bytes的Text時,要如何解決???
老怪答:
宣告一個 As String 的動態陣列變數如 Dim LargeText as string
LargeText="你超過 32 K 的字串"
顯示 32K Bytes 以內資料時,text1.text=mid(largetext,1,32000)。
當要顯示超過 32K Bytes 以外的資料時,text1.text=mid(largetext,32000,32000)。
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -