Click here to Skip to main content
16,005,389 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: problem accessing com+ object using ASP. Pin
Dave Kreskowiak27-Sep-06 12:54
mveDave Kreskowiak27-Sep-06 12:54 
GeneralRe: problem accessing com+ object using ASP. Pin
ntwlord29-Sep-06 8:12
ntwlord29-Sep-06 8:12 
Question[.net] Rich Text Box Font Size Pin
bamnet27-Sep-06 9:30
bamnet27-Sep-06 9:30 
AnswerRe: [.net] Rich Text Box Font Size Pin
EvoFreak27-Sep-06 9:57
EvoFreak27-Sep-06 9:57 
GeneralRe: [.net] Rich Text Box Font Size Pin
bamnet27-Sep-06 10:11
bamnet27-Sep-06 10:11 
GeneralRe: [.net] Rich Text Box Font Size Pin
[Marc]27-Sep-06 12:25
[Marc]27-Sep-06 12:25 
GeneralRe: [.net] Rich Text Box Font Size Pin
bamnet27-Sep-06 12:46
bamnet27-Sep-06 12:46 
GeneralRe: [.net] Rich Text Box Font Size Pin
Dave Kreskowiak27-Sep-06 12:59
mveDave Kreskowiak27-Sep-06 12:59 
Using just the standard RTB control, you'll have to go through each part of the text and see if the font changes from the previous font style. Say you have a length of text and only the middle 1/3 of the text is in a different style. You'd have to do 3 font changes. Select the first part of the text, change it's font size by creating a new font using the name and styles of the existing font. Then find the next section of text based on its Font, change it's font, then find the last section of text and do the same.

Not very efficient, huh? Your only alternative is to replace the RTB with an extended version of the control that offers, well, more control over the editing capability of the text.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: [.net] Rich Text Box Font Size Pin
[Marc]27-Sep-06 12:59
[Marc]27-Sep-06 12:59 
GeneralRe: [.net] Rich Text Box Font Size Pin
Dave Kreskowiak27-Sep-06 13:41
mveDave Kreskowiak27-Sep-06 13:41 
GeneralRe: [.net] Rich Text Box Font Size Pin
bamnet27-Sep-06 14:53
bamnet27-Sep-06 14:53 
GeneralRe: [.net] Rich Text Box Font Size Pin
Dave Kreskowiak27-Sep-06 17:26
mveDave Kreskowiak27-Sep-06 17:26 
QuestionChange backcolor of column in datagridview Pin
rajkaty27-Sep-06 5:40
rajkaty27-Sep-06 5:40 
AnswerRe: Change backcolor of column in datagridview Pin
Dave Kreskowiak27-Sep-06 8:36
mveDave Kreskowiak27-Sep-06 8:36 
GeneralRe: Change backcolor of column in datagridview Pin
rajkaty28-Sep-06 9:43
rajkaty28-Sep-06 9:43 
GeneralRe: Change backcolor of column in datagridview Pin
Dave Kreskowiak28-Sep-06 14:46
mveDave Kreskowiak28-Sep-06 14:46 
QuestionDataGridView Scrolling Pin
Are Jay27-Sep-06 4:32
Are Jay27-Sep-06 4:32 
AnswerRe: DataGridView Scrolling Pin
Dave Kreskowiak27-Sep-06 5:41
mveDave Kreskowiak27-Sep-06 5:41 
GeneralRe: DataGridView Scrolling Pin
Are Jay27-Sep-06 6:36
Are Jay27-Sep-06 6:36 
QuestionNotify application Pin
rcyril27-Sep-06 3:54
rcyril27-Sep-06 3:54 
AnswerRe: Notify application Pin
Dave Kreskowiak27-Sep-06 5:33
mveDave Kreskowiak27-Sep-06 5:33 
QuestionAPI Pin
samira forooghi27-Sep-06 3:44
samira forooghi27-Sep-06 3:44 
AnswerRe: API Pin
Dave Kreskowiak27-Sep-06 5:28
mveDave Kreskowiak27-Sep-06 5:28 
QuestionSorting Treeview nodes in VB 2005 Pin
IainM127-Sep-06 3:11
IainM127-Sep-06 3:11 
AnswerRe: Sorting Treeview nodes in VB 2005 Pin
Dave Kreskowiak27-Sep-06 8:58
mveDave Kreskowiak27-Sep-06 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.