|
-
Oct 14th, 2000, 11:47 AM
#1
Thread Starter
Frenzied Member
I tried searching for this but couldn't find the post I was looking for so I'll just ask
How do I color my text like vb?
-
Oct 14th, 2000, 11:52 AM
#2
Guru
You can't! Unless you click the little smile icon.
-
Oct 14th, 2000, 11:55 AM
#3
Take a look at this thread.
-
Oct 14th, 2000, 12:07 PM
#4
Thread Starter
Frenzied Member
Whenever I try megatrons and Martinliss's I get "Out Of Stack Space" after about 5 seconds of typing 
[Edited by SteveCRM on 10-14-2000 at 01:11 PM]
-
Oct 14th, 2000, 01:41 PM
#5
Fanatic Member
Try this...
I agree. Though the code that Megatron supplied for colour coding text is good, it is only good in my opinion for changing the colour of text once, as it searches the entire text box entirely.
I have created a class that behaves similar to the VB dev environment (colour coding), but i dont want to release the code, as i am planning on making it into an OCX.
Few pointers though. In my class, every time a key is pressed or mouse clicked, current and last positions are recorded, then checked, and if a line change is detected, it searches the last line only. All done via Windows API functions...
Much more efficient than searching the entire doc.
Hope this helps 
Laterz
Digital-X-Treme
Contact me on MSN Messenger: [email protected]
[VBCODE]Debug.Print Round(((1097) - ((55 ^ 5 + 311 ^ 3 - 11 ^ 3) _
/ (68 ^ 5))) ^ (1 / 7), 13)[/VBCODE]
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
|