Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

TFileListBox, TDirectoryListBox, TDriveComboBox

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

P Jean dit Bailleul
to Shane Miller: I would add them and see if you could make them useful somehow.…
you wrote
I would add them and see if you could make them useful somehow.

Drive return a Char so it not possible to use it to indicate the mounted device (4 characters) corresponding to the actual directory. Even under windows, i don't think many people use it since it does not support UNC files names.
I cam make a new property device corresponding to the mounted device under linux and to the UNC names under windows.

Show quoted text 44 lines
------------------------------------------------------------ Shane Miller Home page : http://www.lakefield.net/~smiller Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard Lazarus : http://www.pcpros.net/~vbman ---------------------------------------------------------- -----Original Message----- From: P Jean dit Bailleul To: Date: Monday, August 16, 1999 3:15 PM Subject: [lazarus] TFileListBox, TDirectoryListBox, TDriveComboBox > > > >Under linux, how the properties Drive from TFileListBox and >TDirectoryListBox should react? >I suggest that it is only a dummy property that does nothing and return an >empty string. > >I think also that TDriveComboBox should be available for compatibility only >even if under linux it is useless. > >Is it ok? >P Jean dit Bailleul () > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

P Jean dit Bailleul ()

Reply by email

Marc Weustink
to Shane Miller: I would add them and see if you could make them useful somehow.…
you wrote 7 lines
At 21:07 16/08/99 -0700, you wrote: >I would add them and see if you could make them useful somehow. Drive return a Char so it not possible to use it to indicate the mounted device (4 characters) corresponding to the actual directory. Even under windows, i don't think many people use it since it does not support UNC files names.

In Delphi 4 these controls are in the win31 section only for backward compatibility and shouldn't be used (in D4). So I don't think they will be used that much. (Since now you have the file open dialog and you don't have to create then yourself)

Marc

Show quoted text 54 lines
I cam make a new property device corresponding to the mounted device under linux and to the UNC names under windows. >------------------------------------------------------------ >Shane Miller > >Home page : http://www.lakefield.net/~smiller > >Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip > >Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard > >Lazarus : http://www.pcpros.net/~vbman >---------------------------------------------------------- >-----Original Message----- >From: P Jean dit Bailleul >To: >Date: Monday, August 16, 1999 3:15 PM >Subject: [lazarus] TFileListBox, TDirectoryListBox, TDriveComboBox > > >> >> >> >>Under linux, how the properties Drive from TFileListBox and >>TDirectoryListBox should react? >>I suggest that it is only a dummy property that does nothing and return an >>empty string. >> >>I think also that TDriveComboBox should be available for compatibility only >>even if under linux it is useless. >> >>Is it ok? >>P Jean dit Bailleul () >> >>_________________________________________________________________ >> To unsubscribe: mail with >> "unsubscribe" as the Subject >> archives at http://www.miraclec.com/list_archives/lazarus >> > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > > P Jean dit Bailleul () _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Samuel Liddicott
to P Jean dit Bailleul: Drive return a Char so it not possible to use it to indicate the mounted device (4…
Show quoted text 16 lines
-----Original Message----- From: P Jean dit Bailleul Sent: 17 August 1999 05:15 AM To: Subject: Re: [lazarus] TFileListBox, TDirectoryListBox, TDriveComboBox At 21:07 16/08/99 -0700, you wrote: >I would add them and see if you could make them useful somehow. Drive return a Char so it not possible to use it to indicate the mounted device (4 characters) corresponding to the actual directory. Even under windows, i don't think many people use it since it does not support UNC files names. I cam make a new property device corresponding to the mounted device under linux and to the UNC names under windows.

I think it is good to distinguish between obviously different drives like floppy, CDROM and "hard disks", but not good to distinguish between different hard disks, for the user can't be expected to know one from the other anyway.

This may involve tricky API stuff to locate removable/network (nfs/smbmount) drives

Sam

Reply by email

P Jean dit Bailleul

Under linux, how the properties Drive from TFileListBox and TDirectoryListBox should react?
I suggest that it is only a dummy property that does nothing and return an empty string.

I think also that TDriveComboBox should be available for compatibility only even if under linux it is useless.

Is it ok?
P Jean dit Bailleul ()

Reply by email

Shane Miller

I would add them and see if you could make them useful somehow. ------------------------------------------------------------ Shane Miller

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.pcpros.net/~vbman
----------------------------------------------------------

Earlier message 26 lines
-----Original Message----- From: P Jean dit Bailleul To: Date: Monday, August 16, 1999 3:15 PM Subject: [lazarus] TFileListBox, TDirectoryListBox, TDriveComboBox > > > >Under linux, how the properties Drive from TFileListBox and >TDirectoryListBox should react? >I suggest that it is only a dummy property that does nothing and return an >empty string. > >I think also that TDriveComboBox should be available for compatibility only >even if under linux it is useless. > >Is it ok? >P Jean dit Bailleul () > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email