Luis R. Hilario B. schreef:
Right now works thus:
ftArchive = If has the attribute of file.
ftNormal = If has no attribute.
Do the test removing all the attributes.
DOS/Windows (OS/2?):
attribu -r -a -s -h file.ext
It can be that in the future be 100% Delphi compatible, but now I am
working
default value in Delphi is ftNormal
And are visible the files with attribute 'A' or without him.
But that is not really the problem, in Delphi functions totally different.
For example:
ftArchive Does not it show hidden files, Lazarus yes.
2007/4/28, Vincent Snijders [EMAIL PROTECTED]:
Luis R.
Thank's.
With ftArchive that's work. I cant find exactly when ftArchive become necessary
but when FPC svn version was 2.1.1 the component TFilelistBox work without this
line.
In the IDE the default value of filetype ftArchive is set to false. May be the
best way is set the default to true in
Right now works thus:
ftArchive = If has the attribute of file.
ftNormal = If has no attribute.
Do the test removing all the attributes.
DOS/Windows (OS/2?):
attribu -r -a -s -h file.ext
It can be that in the future be 100% Delphi compatible, but now I am
working in unit serie.pp for Windows.
Try
FileType:=[ftNormal,ftArchive,ftReadOnly];
Really the implementation of Lazarus is not the same one of Delphi,
possibly change later.
2007/4/20, fedorax [EMAIL PROTECTED]:
Hello,
With lazarus svn 10980 fpc svn 7141
The component TFileListBox don't work.
With FileListBox1 do begin
Hello,
With lazarus svn 10980 fpc svn 7141
The component TFileListBox don't work.
With FileListBox1 do begin
FileType:=[ftNormal,ftReadOnly];
Mask:='*.*';
Directory:='/usr/local/bin/';
end;
Display nothing.
Also try with
Mask='*';
Directory:='/usr/local/bin';
nothing change.
OS: Linux