Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Java class to C#: inheritance problem Pin
cabo15-May-03 5:32
cabo15-May-03 5:32 
GeneralRe: Java class to C#: inheritance problem Pin
Richard Deeming15-May-03 8:23
mveRichard Deeming15-May-03 8:23 
GeneralRe: Java class to C#: inheritance problem Pin
Philip Fitzsimons16-May-03 2:39
Philip Fitzsimons16-May-03 2:39 
GeneralRe: Java class to C#: inheritance problem Pin
Richard Deeming15-May-03 8:21
mveRichard Deeming15-May-03 8:21 
GeneralRe: Java class to C#: inheritance problem Pin
cabo15-May-03 9:32
cabo15-May-03 9:32 
Generalreqaurding rtf boxes Pin
jtmtv1814-May-03 22:57
jtmtv1814-May-03 22:57 
GeneralRe: reqaurding rtf boxes Pin
KingTermite15-May-03 3:35
KingTermite15-May-03 3:35 
GeneralRe: reqaurding rtf boxes Pin
jtmtv1815-May-03 10:11
jtmtv1815-May-03 10:11 
i whipped something together...maybe you can help me work with it. it doesnt seem to work correctly because the Rtf.Select() requires a start index....how can i find the start index of a specific char in the selected text ? heres the code i just kinda through together.

<br />
char[] chars = GetMainFormData.MainTextArea.SelectedText.ToCharArray();<br />
			Color[] cls= new Color[chars.Length];<br />
			int count =0;<br />
			int tmp = GetMainFormData.MainTextArea.SelectedText.Length;<br />
			for(int i =0;i<tmp;i++)<br />
			{				<br />
				GetMainFormData.MainTextArea.Select(GetMainFormData.MainTextArea.SelectedText[i],1);<br />
				Color tmp1 = GetMainFormData.MainTextArea.SelectionColor;<br />
				cls[count] = tmp1;<br />
				GetMainFormData.MainTextArea.SelectionFont = fd.Font;<br />
				GetMainFormData.MainTextArea.SelectionColor = cls[count];<br />
				count++;<br />
			}<br />


Any ideas ?

The Code Project Is Your Friend...
GeneralRe: reqaurding rtf boxes Pin
KingTermite16-May-03 2:41
KingTermite16-May-03 2:41 
GeneralRe: reqaurding rtf boxes Pin
jtmtv1816-May-03 8:19
jtmtv1816-May-03 8:19 
GeneralRe: reqaurding rtf boxes Pin
KingTermite16-May-03 12:59
KingTermite16-May-03 12:59 
GeneralRe: reqaurding rtf boxes Pin
jtmtv1816-May-03 14:00
jtmtv1816-May-03 14:00 
GeneralHiWord/LoWord/etc in C# Pin
J. Dunlap14-May-03 19:33
J. Dunlap14-May-03 19:33 
GeneralRe: HiWord/LoWord/etc in C# Pin
cdehelean15-May-03 4:49
cdehelean15-May-03 4:49 
GeneralRe: HiWord/LoWord/etc in C# Pin
J. Dunlap15-May-03 7:37
J. Dunlap15-May-03 7:37 
GeneralHandling ActiveX control events in .Net Pin
Anonymous14-May-03 18:21
Anonymous14-May-03 18:21 
QuestionEquiv of DrawState() API in .NET? Pin
J. Dunlap14-May-03 12:21
J. Dunlap14-May-03 12:21 
AnswerRe: Equiv of DrawState() API in .NET? Pin
James T. Johnson14-May-03 14:06
James T. Johnson14-May-03 14:06 
GeneralRe: Equiv of DrawState() API in .NET? Pin
J. Dunlap14-May-03 14:12
J. Dunlap14-May-03 14:12 
GeneralRe: Equiv of DrawState() API in .NET? Pin
James T. Johnson14-May-03 14:16
James T. Johnson14-May-03 14:16 
GeneralRe: Equiv of DrawState() API in .NET? Pin
J. Dunlap14-May-03 14:42
J. Dunlap14-May-03 14:42 
GeneralRe: Equiv of DrawState() API in .NET? Pin
J. Dunlap14-May-03 20:37
J. Dunlap14-May-03 20:37 
GeneralPlease, tell me WebServices are not stupid! Pin
Daniel Turini14-May-03 11:28
Daniel Turini14-May-03 11:28 
GeneralRe: Please, tell me WebServices are not stupid! Pin
leppie14-May-03 12:15
leppie14-May-03 12:15 
GeneralRe: Please, tell me WebServices are not stupid! Pin
James T. Johnson14-May-03 13:53
James T. Johnson14-May-03 13:53 

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.