Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TFileListBox::Update - doesn't update!

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo. I have a TFileListBox called listLocalFiles, but I cannot get it to update when files are moved/deleted/etc.
I have tried the following:

listLocalFiles->Update();
listLocalFiles->Refresh();

and

listLocalFiles->Update();
listLocalFiles->Repaint();

But, sadly, all to no avail. Can anyone shed any light on what I'm doing wrong?

Cheers,
Douglas JL

Common sense is what tells you the world is flat.
 
Sorry!
Just another case of me being an idiot!
I had the call to update in a section of code that wasn't being read.
Like I said, a real idiot!

Cheers,
Douglas JL

Common sense is what tells you the world is flat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top