/*
Update example
The following sample code sets the directory of DirectoryListBox1 to C:\TEMP when the form is created. When Button1 is pressed, a subdirectory called MYDIR is added to C:\TEMP, but note that it is not updated in DirectoryListBox1 until Button2 is pressed and Update is called.
*/ 
void __fastcall TForm1::Button1Click(TObject *Sender)
{
  ForceDirectories("c:\temp\mydir");
}
void __fastcall TForm1::FormCreate(TObject *Sender)
{
  DirectoryListBox1->Directory = "c:\temp";
}
void __fastcall TForm1::Button2Click(TObject *Sender)
{
  DirectoryListBox1->Update();
} 
