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

FileListBox FileType changing

Status
Not open for further replies.

Batuhan

Programmer
Sep 27, 2001
8
0
0
TR
I want to change the Filetype of my FileListBox in runtime,
not from object inspector, can anyone give me a simple example code or some clue for this. So i can change the file attributes that will be shown in FileListBox

thanks anyway...
 
Try using the help and look for the topic: FileListBox->Mask, that should do the trick if i'm not mistaking.
 
No my problem is not with masking the files that will be shown, i m trying to show files which have same file attributes, as an example, ftReadOnnly, ftHidden etc.
the problem is i just cant do it in runtime...
 
Well, have You tried to alter the FileListBox->FileType and refresh the box by calling the FileListBox->Update()?
To me it looks as simple as that... Totte

I don't have a clue.....but sometimes it actually works out right!!!
 
No the problem is i just cant change
FileListBox->FileType = ...
i dun know how to assign new attributes that will be shown by file list box

as an example i want my filelistbox show only hidden files
its wrong but i m trying to do
FileListBox1->FileType = ftHidden;
but ofcouse this is not the way
i tried to find some documantation but i was not able
if i can see an example it ll be very usefull
 
I don't know if this is what you are looking for or not but go to Bridges publishing ( and look at their public articles. The have one article on finding files ( and a 4 part article that goes into greater depth. They may provide you with some help. James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that they think I am now
qualified to do anything with nothing.
 
thanks, those links were really very usefull...
i solved my problem and much more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top