Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2016, 01:52 PM
robert robert is offline
Senior Member
 
Join Date: Sep 2014
Posts: 382
Default Refreshing Directory

Is Possible to Refresh Directory in Delphi
Reply With Quote
  #2  
Old 11-28-2016, 02:03 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

What do you meen by refresh a directory?
Reply With Quote
  #3  
Old 11-28-2016, 02:12 PM
robert robert is offline
Senior Member
 
Join Date: Sep 2014
Posts: 382
Default

I have directory in C:\mydirectory where I am getting files from other directory and i want to show how many total size of file is transferred by refreshing C:\mydirectory.
Reply With Quote
  #4  
Old 11-28-2016, 02:47 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

And how do you show that directory, a TListBox or something?
So you have a method that loads your directory in a visual component (for example that TListBox). Refresh is nothing more than calling that method.
But with all the information you give (read: no information) it's nearly impossible to give a solution
Reply With Quote
  #5  
Old 12-05-2016, 12:07 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,059
Default

See http://www.swissdelphicenter.ch/en/showcode.php?id=149


Simply keep calling the function in that link in maybe a timer or a thread.
__________________
Regards,
Abdulaziz Jasser

Last edited by Jasser; 12-05-2016 at 12:32 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 08:26 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.