Page 1 of 1

TfindFile pause and resume?.

PostPosted: October 14th, 2005, 4:20 pm
by cozturk
When there are 20.000 files, searching and listing takes too much times. (1-2 mimutes+)

So I need to list TfindFile results page by page without finding all files.

TfindFile has pause and resume feature? (I see documentation but I coludnt find)

PostPosted: October 14th, 2005, 6:12 pm
by Kambiz
The component doesn't support Pause/Resume feature. However, you can run TFindFile in threaded mode, and then using an Event object Pause/Resume the thread.

PostPosted: October 14th, 2005, 6:16 pm
by Kambiz
By the way, isn't it better while user is seeing a page, you keep generating the next pages in background?

PostPosted: October 15th, 2005, 7:17 am
by cozturk
ok. thanks.

When user see 1st page other results can be listed in background.