|
-
Oct 2nd, 2000, 06:40 PM
#1
Thread Starter
Frenzied Member
Hi everybody!
I want to program a program that can show some colored VB code!
So I think I got to use the Richtext control!
I don't like using ocx, but if there is no other way...okay!
But does anyone of you have a codesnippet of a function that colors VB code? Or will i have to do this all on my own? It would really be a pain!
Thanks
If there were similar threads like this before, sorry but I couldn't find one.
Sanity is a full time job
Puh das war harter Stoff!
-
Oct 2nd, 2000, 06:44 PM
#2
Frenzied Member
You mean like you would type in the code and it would color it? Look at the post called "Find", and then you just find things like "If" and "End" etc...
-
Oct 2nd, 2000, 06:46 PM
#3
_______
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 2nd, 2000, 06:46 PM
#4
Lively Member
Hmmm
Not sure...You could always have it write to an html page and then display it
-
Oct 2nd, 2000, 06:48 PM
#5
Thread Starter
Frenzied Member
Thanks for the help!
I'm still looking for answers guys, because I think someone should have done this before!
If not, is there a list in the MSDN where I can find all the Keywords that are colored.
Thanks
Sanity is a full time job
Puh das war harter Stoff!
-
Oct 2nd, 2000, 06:48 PM
#6
_______
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 2nd, 2000, 06:56 PM
#7
Thread Starter
Frenzied Member
Thanks guys!
When I wrote the first answer I just read the first answer! You are really fast!
I found many functions, that search Richtextboxes and color the search string!
Sanity is a full time job
Puh das war harter Stoff!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|