Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Delphi]Ok, another question...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Fri Sep 14, 2007 4:34 pm    Post subject: [Delphi]Ok, another question... Reply with quote

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... Rolling Eyes )
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
View user's profile Send private message
XTrinityX
Expert Cheater
Reputation: 0

Joined: 18 May 2006
Posts: 123
Location: Connecticut

PostPosted: Fri Sep 14, 2007 7:22 pm    Post subject: Reply with quote

AFAIK, memos can't do that. Try TRichEdits.
Back to top
View user's profile Send private message AIM Address
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Fri Sep 14, 2007 11:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Sep 15, 2007 5:02 am    Post subject: Reply with quote

Alright, richedit who cares. Surprised
So whats the function? Razz
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Sep 15, 2007 10:08 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Sep 15, 2007 10:42 am    Post subject: Reply with quote

Red sauce on PA-STA!? Surprised









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.

Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Well oib, do you know what the function is? Razz
Will be appreciated. Rolling Eyes
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Sat Sep 15, 2007 8:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
XTrinityX
Expert Cheater
Reputation: 0

Joined: 18 May 2006
Posts: 123
Location: Connecticut

PostPosted: Sat Sep 15, 2007 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sun Sep 16, 2007 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites