[lazarus] ButtonPanel component issues

2006-07-26 Thread Graeme Geldenhuys
Hi, Anybody using Qt widget set. Can you confirm the button order in dialogs (referring to Help, OK and Cancel buttons). As far as I can tell this is what I have... Win32:Help, OK, Cancel Gnome, GTK1, GTK2: Help, Cancel, OK Qt: Help, OK, Cancel Currently the TButtonPanel only looks

Re: [lazarus] ButtonPanel component issues

2006-07-26 Thread zeljko
On Wednesday 26 July 2006 15:45, Graeme Geldenhuys wrote: Hi, Anybody using Qt widget set. Can you confirm the button order in dialogs (referring to Help, OK and Cancel buttons). yes, but qt3 with kylix :) As far as I can tell this is what I have... Win32:Help, OK, Cancel Gnome,

Re: [lazarus] ButtonPanel component issues

2006-07-26 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, Anybody using Qt widget set. Can you confirm the button order in dialogs (referring to Help, OK and Cancel buttons). As far as I can tell this is what I have... Win32:Help, OK, Cancel Gnome, GTK1, GTK2: Help, Cancel, OK Qt: Help, OK, Cancel Currently the

Re: [lazarus] ButtonPanel component issues

2006-07-26 Thread Felipe Monteiro de Carvalho
Anybody got an idea how we can change the TButtonPanel to check the Desktop Environment (widget set) instead of the OS? Each widgetset has a define, like: $ifdef lclgtk2 or $ifdef lclqt or $ifdef lclwin32 -- Felipe Monteiro de Carvalho

Re: [lazarus] ButtonPanel component issues

2006-07-26 Thread Mattias Gaertner
On Wed, 26 Jul 2006 17:47:13 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Anybody got an idea how we can change the TButtonPanel to check the Desktop Environment (widget set) instead of the OS? Each widgetset has a define, like: $ifdef lclgtk2 or $ifdef lclqt or $ifdef

Re: [lazarus] ButtonPanel component issues

2006-07-26 Thread Graeme Geldenhuys
Each widgetset has a define, like: $ifdef lclgtk2 or $ifdef lclqt or $ifdef lclwin32 That should do the trick. BTW: Isn't the else part in the DoButtonOrder() wrong way round? It says that for Unix environments the button order should be Close, OK, Cancel. Aren't most Unix (excluding Qt)

Re: [lazarus] ButtonPanel component issues

2006-07-26 Thread Graeme Geldenhuys
These are only valid for packages using the LCL. The LCL is widgetset independent. Ok, there goes that idea. :-) Vincent is right, add a LCL interface function. This does sound like a solid solution... Not to menion, it will at least get rid of the IFDEFs which normally makes code difficult