EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Find*

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
itsatomic



Joined: 12 Jun 2006
Posts: 38

PostPosted: Mon Sep 04, 2006 4:18 am    Post subject: Find* Reply with quote

How is FindAll different to FindNext/Prev? I am calling the function but seeing no visible differences. (I can see there are differences in the code). I was hoping it would highlight all occurences.

There is a Find option called ftBackward, but the find methods are

Code:

FindNext
FindPrev
FindFirst
FindLast


none of which take the ftBackward flag into account as far as I can tell?

Aaron
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Sun Sep 24, 2006 2:58 pm    Post subject: Reply with quote

Option ftBackward is used only in Execute and SearchAgain.

Direction in methods: FindNext, FindPrev, FindFirst, FindLast is included in the names of those methods.
I think that if FindPrev will search for the next (in text) entry of string, it will be strange.
FindPrev, FindFirst and SearchAgain are identical (they serach for the next entry), but with different dirrections.

Michael.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
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


Powered by phpBB © 2001, 2005 phpBB Group