VB.NET expert please help

來源: kf_ying 2003-11-26 11:58:00 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (835 bytes)
本文內容已被 [ kf_ying ] 在 2004-02-06 15:24:48 編輯過。如有問題,請報告版主或論壇管理刪除.
I'd like to build a text box where I can do the following:
1. to change font
2. to specify the color of certain letters, for example, to tell the program to make all the letter 'C' in the text red. I don't mean to manually highlight a letter and change its color, I want the program to change the color of the specified letters in the whole text automatically into the color I want.

I think I can use a rich text box to change font, but I don't know how to do the 2nd task. I am very interested in this program which outputs characters in different colores
http://msdn.microsoft.com/archive/d...msdn_msdn34.asp
but don't know how to make it work in VB.NET. I don't know where is the paint event? I also got compiling error like 'Line' is not supported in VB.NET.


any help is highly appreciated!





--文學城www.wenxuecity.com--
請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”