Advertisement
Advertisement
| 01.15.2008 at 05:19PM PST, ID: 23085919 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 01.15.2008 at 05:24PM PST, ID: 20668530 |
| 01.15.2008 at 05:40PM PST, ID: 20668594 |
| 01.15.2008 at 08:59PM PST, ID: 20669335 |
1: 2: |
Dim rtfString As String = "{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}{\colortbl ;\red0\green0\blue255;}\viewkind4\uc1\pard\f0\fs17 Can you do an example where the code adds 3 lines of text, one regular, on bold, and one italic to a rich text box?\par\par\b Can you do an example where the code adds 3 lines of text, one regular, on bold, and one italic to a rich text box?\par\b0\par\i Can you do an example where the code adds 3 lines of text, one regular, on bold, and one italic to a rich text box?\par\par\pard\cf1\i0 Can you do an example where the code adds 3 lines of text, one regular, on bold, and one italic to a rich text box?\cf0\fs17\par}"
RichTextBox1.Rtf = rtfString
|
| 01.15.2008 at 09:04PM PST, ID: 20669352 |
| 01.15.2008 at 09:10PM PST, ID: 20669368 |
| 01.15.2008 at 09:21PM PST, ID: 20669404 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
Dim rtfString As String = "{\rtf1\ansi\ansicpg1252\deff0\deflang1033_{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}{\colortbl ;\red0\green0\blue255;}\viewkind4\uc1\pard\f0\fs17 Line 1\par\par\b Line 2\par\b0\par\i Line 3\par\par\pard\cf1\i0 Line 4\cf0\fs17\par}"
'\fs20 Sets font size to 20 units
'\par new paragraph (line)
'\b Bold Text
'\i italic text
rtfString = "{\rtf\ansi\deff0{\fonttb1{\f0\froman Microsoft Sans Serif;}}\fs20 This is plain text. \par{\b Some more text.}\par}"
RichTextBox1.Rtf = rtfString
'make new string of the RTF codes already in the box, then remove the last '}', then add text and re-add the '}'
Dim val2 As String = RichTextBox1.Rtf.Remove(RichTextBox1.Rtf.LastIndexOf("}".ToString), 1) & "more and {\i more}}"
RichTextBox1.Rtf = val2
'TextBox1.Text = val2 'drop RTF codes in normal text box for debug
|