Re: [lazarus] SelectDirectory double click

2008-02-06 Thread Graeme Geldenhuys
On 06/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote:

 is excellent under windows, because it use the common dialog for it.


Yes, but GTK1 doesn't have a native Select Directory dialog as for as
I could tell, so the LCL hack (which I think it is, but could be
wrong) was to use the Select File dialog which is confusing as hell.
The dirsel.pas mimics the pretty Windows native one. ;-)  Seeing that
90% (and decreasing) of the worlds computer users use Windows, they
should complain to much about the dirsel look.  :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SelectDirectory double click

2008-02-06 Thread Vincent Snijders

Graeme Geldenhuys schreef:

On 06/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote:

is excellent under windows, because it use the common dialog for it.



Yes, but GTK1 doesn't have a native Select Directory dialog as for as
I could tell, so the LCL hack (which I think it is, but could be
wrong) was to use the Select File dialog which is confusing as hell.
The dirsel.pas mimics the pretty Windows native one. ;-)  Seeing that
90% (and decreasing) of the worlds computer users use Windows, they
should complain to much about the dirsel look.  :)




In this case, if there is no suitable native gtk1 widget for select directory, the 
gtk1 interface should use the LCL one from dirsel.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SelectDirectory double click

2008-02-06 Thread Marc Weustink

Vincent Snijders wrote:

Graeme Geldenhuys schreef:

On 06/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote:

is excellent under windows, because it use the common dialog for it.



Yes, but GTK1 doesn't have a native Select Directory dialog as for as
I could tell, so the LCL hack (which I think it is, but could be
wrong) was to use the Select File dialog which is confusing as hell.
The dirsel.pas mimics the pretty Windows native one. ;-)  Seeing that
90% (and decreasing) of the worlds computer users use Windows, they
should complain to much about the dirsel look.  :)




In this case, if there is no suitable native gtk1 widget for select 
directory, the gtk1 interface should use the LCL one from dirsel.


Or create ist own, based on lookalike widgets (if possible)

Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SelectDirectory double click

2008-02-05 Thread Graeme Geldenhuys
On 06/02/2008, el stamatakos [EMAIL PROTECTED] wrote:
 select a directory. Is there a way to only click once to make a selection,
 is there an option somewhere or another function. I look forward to your

The standard SelectDirectory in LCL in crap, because it works very
different on all widget sets and under GTK1 it's the File Open dialog!
 Instead, I would recommend you use the dirsel.pas unit. It has a
consistent look across all platforms and uses the familiar directory
treeview to select a directory.  I mostly used GTK1 under Lazarus on
Linux and it's a welcome change to the File Open dialog for selecting
directories.

PS:
I once tried to implement the dirsel.pas unit as the default for GTK1,
but again I got lost in the complexity of the LCL backends.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SelectDirectory double click

2008-02-05 Thread Vincent Snijders

Graeme Geldenhuys schreef:

On 06/02/2008, el stamatakos [EMAIL PROTECTED] wrote:

select a directory. Is there a way to only click once to make a selection,
is there an option somewhere or another function. I look forward to your


The standard SelectDirectory in LCL 


is excellent under windows, because it use the common dialog for it.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives