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
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
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.