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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileType in TFileListBox?

Status
Not open for further replies.

inetd

Technical User
Jan 23, 2002
115
HK
How can I add / substract an option from FileType of TFileListBox at run time?


Thanks.
 
If you want to remove Archive for example:

FileListBox1->FileType >> ftArchive;
FileListBox1->Clear();
FileListBox1->Update();

To add Archive back:
FileListBox1->FileType << ftArchive;
FileListBox1->Clear();
FileListBox1->Update();

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top