Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to bind a list to a combobox Pin
CodingYoshi5-Apr-08 7:25
CodingYoshi5-Apr-08 7:25 
GeneralRe: How to bind a list to a combobox Pin
baranils5-Apr-08 7:56
baranils5-Apr-08 7:56 
QuestionHow to programmatically change text to underlined style in RichTextBox? Pin
SeeBees4-Apr-08 4:32
SeeBees4-Apr-08 4:32 
AnswerRe: How to programmatically change text to underlined style in RichTextBox? Pin
Luc Pattyn4-Apr-08 6:00
sitebuilderLuc Pattyn4-Apr-08 6:00 
GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
SeeBees4-Apr-08 16:03
SeeBees4-Apr-08 16:03 
GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
Luc Pattyn4-Apr-08 16:34
sitebuilderLuc Pattyn4-Apr-08 16:34 
GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
SeeBees5-Apr-08 0:21
SeeBees5-Apr-08 0:21 
GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
Luc Pattyn5-Apr-08 2:23
sitebuilderLuc Pattyn5-Apr-08 2:23 
SeeBees wrote:
it flickers


sure, all Controls basically have that problem, and the more data they hold and the more
operations you perform on them, the more it shows.

Here are some suggestions to reduce the flickering, you pick and choose:
- optimize your code; tha faster it runs the less you will notice it;
- try using SuspendLayout() and ResumeLayout(); I'm not sure how well it helps with an RTB;
- difficult: get the Rtf property, operate on it (that's string operations now, not very
elegant), and when done, store it again
- alternative: have a second RTB, not visible, copy the Rtf from the first to the second,
operate on the second RTB, then copy back the Rtf. This should work nicely.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
SeeBees8-Apr-08 22:31
SeeBees8-Apr-08 22:31 
GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
mav.northwind5-Apr-08 4:21
mav.northwind5-Apr-08 4:21 
GeneralRe: How to programmatically change text to underlined style in RichTextBox? Pin
SeeBees8-Apr-08 22:27
SeeBees8-Apr-08 22:27 
QuestionDatagrid parameter Pin
Gego Levente4-Apr-08 4:05
Gego Levente4-Apr-08 4:05 
GeneralRe: Datagrid parameter Pin
Rick van Woudenberg4-Apr-08 4:40
Rick van Woudenberg4-Apr-08 4:40 
Questionhow to get back and next record from databases Pin
ilu_f94-Apr-08 3:58
ilu_f94-Apr-08 3:58 
AnswerRe: how to get back and next record from databases Pin
Rick van Woudenberg4-Apr-08 4:06
Rick van Woudenberg4-Apr-08 4:06 
Generalrtf and streams Pin
panoskatws4-Apr-08 3:25
panoskatws4-Apr-08 3:25 
GeneralRe: rtf and streams Pin
Rick van Woudenberg4-Apr-08 3:34
Rick van Woudenberg4-Apr-08 3:34 
GeneralRe: rtf and streams Pin
panoskatws4-Apr-08 4:20
panoskatws4-Apr-08 4:20 
GeneralRe: rtf and streams Pin
Rick van Woudenberg4-Apr-08 4:53
Rick van Woudenberg4-Apr-08 4:53 
GeneralRe: rtf and streams Pin
panoskatws5-Apr-08 4:54
panoskatws5-Apr-08 4:54 
GeneralRe: rtf and streams Pin
mav.northwind4-Apr-08 23:24
mav.northwind4-Apr-08 23:24 
GeneralRe: rtf and streams Pin
panoskatws5-Apr-08 5:16
panoskatws5-Apr-08 5:16 
GeneralThreading problem Pin
Rick van Woudenberg4-Apr-08 2:53
Rick van Woudenberg4-Apr-08 2:53 
GeneralRe: Threading problem Pin
leppie4-Apr-08 3:42
leppie4-Apr-08 3:42 
GeneralRe: Threading problem Pin
SeeBees4-Apr-08 16:15
SeeBees4-Apr-08 16:15 

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.