| View previous topic :: View next topic |
| Author |
Message |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Fri Sep 14, 2007 4:34 pm Post subject: [Delphi]Ok, another question... |
|
|
How do I check if a single word in my richedit exists or not? like cheat engine checks of [enable] and [disable] exists... (I checked in the source but it doesn't tell me anything... )
I need it so it selects the word, checks if another word like it exists in another place of the richedit, selects, chanegs untill there are no more then it stops... (and check for another word...)
Last edited by Symbol on Sun Sep 16, 2007 12:19 pm; edited 2 times in total |
|
| Back to top |
|
 |
XTrinityX Expert Cheater
Reputation: 0
Joined: 18 May 2006 Posts: 123 Location: Connecticut
|
Posted: Fri Sep 14, 2007 7:22 pm Post subject: |
|
|
| AFAIK, memos can't do that. Try TRichEdits.
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Fri Sep 14, 2007 11:52 pm Post subject: |
|
|
memos (text) can do that with API, but it will be a lot of APIs and the effect goes away after you highlight the text.
just telling you it's possible - but I don't have the code with me though, since I didnt keep the reference
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sat Sep 15, 2007 5:02 am Post subject: |
|
|
Alright, richedit who cares.
So whats the function?
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Sep 15, 2007 10:08 am Post subject: |
|
|
You should ask a little bit nicer than that.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sat Sep 15, 2007 10:42 am Post subject: |
|
|
Red sauce on PA-STA!?
Umm, ok...
Good point...
Hello CEF members.
After my bad attempt at searching for the function of making a richedit specified word colorful, I have came here, to this general programming section.
(I was almost about to tell you all my life in this post...)
Ok so i was borned in Israel at... oops, back to the topic.
So here I ask myself and you members of cef, is there any funtion to make richedit's words colorful?
Thanks in advanced,
~Symbol.
Well oib, do you know what the function is?
Will be appreciated.
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Sat Sep 15, 2007 8:15 pm Post subject: |
|
|
try .selColor, .selBold, .selItalic etc
(this might happen, this might not; this is not delphi but the keywords are always worth a try)
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
XTrinityX Expert Cheater
Reputation: 0
Joined: 18 May 2006 Posts: 123 Location: Connecticut
|
Posted: Sat Sep 15, 2007 8:53 pm Post subject: |
|
|
| Look up a bit on syntax highlighting..that is what you want. You may want to download a custom user-made control that specializes in syntax highlighting.
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sun Sep 16, 2007 11:14 am Post subject: |
|
|
No... =( thats not it...
I mean changing the richedit's text, not the source code text... >.<
I tried anything... also googled about it and nothing about changing richedit's single words color...
|
|
| Back to top |
|
 |
|