Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Lord Satan [EMAIL PROTECTED] wrote: If the user has the choice between native and non native most will choose the native one. The same reason why KDE-guys use mostly QT apps and Gnome ones use mostly GTK apps. Maybe I'm just different. I use Ubuntu, which comes default with

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Lord Satan [EMAIL PROTECTED] wrote: But the developer plans native widget support for the next major version of Pixel and looking at the screenshots I know why users demand it. Nonetheless you are right that it could be a gain for Lazarus. Nobody has seen the code of eLiquid, so

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Andrew Haines [EMAIL PROTECTED] wrote: Part of the reason for that, is that there is a lot of old code that was written before the redesign of the underlying interface to the native widgets. And at least for gtk1, it misses some functionality that is Do you know the status of GTK2?

[lazarus] port for TMysqlconnection

2007-04-03 Thread Sébastien TACK
Hello, I would like specify a precise port for TMysqlConnection. How can I do this ? Regards. Sébastien TACK _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] ActiveX Data Object

2007-04-03 Thread Bram Kuijvenhoven
dayat wrote: SQLDB's ODBC very busy to finish the problem of me. otherwise there is a way of is other, how to make and vanish DSN ODBC at windows On the Control Panel (Win 9x/ME) or Control Panel - Administrative Tools (Win XP) there is a 'Data Sources (ODBC)' item. You can create new DSNs

Re: [lazarus] port for TMysqlconnection

2007-04-03 Thread Michael Van Canneyt
On Tue, 3 Apr 2007, Sébastien TACK wrote: Hello, I would like specify a precise port for TMysqlConnection. How can I do this ? I committed a fix to subversion so you can specify it in the parameters: Params.['Port']:=IntToStr(4545); This means you'll have to recompile the mysql

Re: [lazarus] ActiveX Data Object

2007-04-03 Thread dayat
I am sorry, its intention make and vanish odbc of comand of freepascal On 5/20/07, Bram Kuijvenhoven [EMAIL PROTECTED] wrote: dayat wrote: SQLDB's ODBC very busy to finish the problem of me. otherwise there is a way of is other, how to make and vanish DSN ODBC at windows On the Control

Re: [lazarus] port for TMysqlconnection

2007-04-03 Thread Darmawan Sugiarto
I have a same problem with this... but I used PQconnection I can solve my program with add this code === with PQConnection1 do begin HostName:='localhost'; DatabaseName:='pep'; UserName:='superuser';

[lazarus] Can not access Ttrackbar

2007-04-03 Thread Darmawan Sugiarto
I used a TrackBar component usually I can access position property (in Delphi) but I can not access in Lazarus procedure TForm1.TrackBar1Change(Sender: TObject); begin Edit1.Text:=IntToStr(TrackBar1.Position); end; How I can access this property

Re: [lazarus] Can not access Ttrackbar

2007-04-03 Thread Vincent Snijders
Darmawan Sugiarto schreef: I used a TrackBar component usually I can access position property (in Delphi) but I can not access in Lazarus procedure TForm1.TrackBar1Change(Sender: TObject); begin Edit1.Text:=IntToStr(TrackBar1.Position); end; Why do you think you cannot access that

Re: [lazarus] Can not access Ttrackbar

2007-04-03 Thread Darmawan Sugiarto
Sorry may be It's a stupid question... What is SVN and Snapshot ??? Vincent Snijders [EMAIL PROTECTED] wrote: Darmawan Sugiarto schreef: I used a TrackBar component usually I can access position property (in Delphi) but I can not access in Lazarus procedure

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: What other doubts do we have about this subject? I spoke with Marc on irc (#lazarus-ide). There were two open issues, for which I wanted feedback of other developers. 1. Is this cross platform (actually cross widget set) enough to warrant implementation

Re: [lazarus] Can not access Ttrackbar

2007-04-03 Thread Vincent Snijders
Darmawan Sugiarto schreef: Sorry may be It's a stupid question... What is SVN and Snapshot ??? SVN is the place where we store the lazarus sources: See http://wiki.lazarus.freepascal.org/Getting_Lazarus You can browse the repository at:

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Mattias Gaertner
On Tue, 03 Apr 2007 11:08:03 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho schreef: What other doubts do we have about this subject? I spoke with Marc on irc (#lazarus-ide). There were two open issues, for which I wanted feedback of other developers. 1.

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Lord Satan
On Tue, 3 Apr 2007 08:43:50 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 4/3/07, Lord Satan [EMAIL PROTECTED] wrote: If the user has the choice between native and non native most will choose the native one. The same reason why KDE-guys use mostly QT apps and Gnome ones use

Re: [lazarus] port for TMysqlconnection

2007-04-03 Thread Michael Van Canneyt
On Tue, 3 Apr 2007, Darmawan Sugiarto wrote: I have a same problem with this... but I used PQconnection I can solve my program with add this code === with PQConnection1 do begin HostName:='localhost';

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Lord Satan [EMAIL PROTECTED] wrote: Of course it is easy as it looks as ugly as my GTK Lazarus (for some unknown reason I cannot use GTK pixmap themes). As I said those screenshots are old and from Linux when fpGUI didn't have Xft (anti-aliased font) support. The latest fpGUI has

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Andrew Haines
Graeme Geldenhuys wrote: On 4/3/07, Andrew Haines [EMAIL PROTECTED] wrote: Part of the reason for that, is that there is a lot of old code that was written before the redesign of the underlying interface to the native widgets. And at least for gtk1, it misses some functionality that is Do

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Charl van Jaarsveldt
On 4/2/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 4/2/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Yes, but I think that if the application is used only in enterprises and such, the users probably won´t care. And then the enterprise will be more interrested in

Re: [lazarus] ActiveX Data Object

2007-04-03 Thread Vincent Snijders
Bram Kuijvenhoven schreef: dayat wrote: I am sorry, its intention make and vanish odbc of comand of freepascal (I hope I more or less understand your question, and that you can understand me) I understood the question in a different way. To use an ODBC connection you need a DSN. How

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Florian Klaempfl
Andrew Haines schrieb: Graeme Geldenhuys wrote: On 4/3/07, Andrew Haines [EMAIL PROTECTED] wrote: Part of the reason for that, is that there is a lot of old code that was written before the redesign of the underlying interface to the native widgets. And at least for gtk1, it misses some

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Sergei Gorelkin
Tuesday, April 03, 2007, 10:43:50 AM, Graeme wrote: GG Have a look at the fpGUI website. Those screenshots are a bit old, GG but will give you a good idea. GG Half those screenshots show the Windows 9x theme (under Linux), the GG other half show the GFX backend doing painting. GG

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Sergei Gorelkin [EMAIL PROTECTED] wrote: Unfortunately, not. By now fpGUI has (most of) the look, but does not have the feel. For example: I was only making a statement against the look. I know the 'feel' as a lot more outstanding. Thanks for your observations though. I'll add

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Felipe Monteiro de Carvalho
On 4/3/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Further, I don´t know even on windows if just creating a TWinControl would do it. Something extra: My idea of implementing this as pure LCL would be creating a TWinControl and implementing a WndProc. But the windows interface

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Al Boldi
Sergei Gorelkin wrote: And there are tons of similar issues, which make any fpGUI app feel extermely alien in Windows. As a programmer, I can say that fixing such issues is actually a much harder and boring job than what you had already done. Agreed. Nevertheless, you are on a really good

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Razvan Adrian Bogdan
By the way, I would love if the IFDEF for Win32 Messages greater then WM_USER was removed =) Any reason to keep it ? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Vincent Snijders
Razvan Adrian Bogdan schreef: By the way, I would love if the IFDEF for Win32 Messages greater then WM_USER was removed =) Any reason to keep it ? To prevent abuse and writing unportable code. It is better to think of portable solutions. Vincent

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Marc Weustink
Razvan Adrian Bogdan wrote: By the way, I would love if the IFDEF for Win32 Messages greater then WM_USER was removed =) Any reason to keep it ? Yes, to force us to think about a platform independent way of solving this. Marc

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Can someone give a short example or point me to the right mail, where AllocateHWnd is needed and why it must be implemented in all LCL interfaces instead of the LCL? [...] Further, I don´t know even on

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Al Boldi
Felipe Monteiro de Carvalho wrote: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Can someone give a short example or point me to the right mail, where AllocateHWnd is needed and why it must be implemented in all LCL interfaces instead of the LCL? At some point I thougth about

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: On 4/3/07, Sergei Gorelkin [EMAIL PROTECTED] wrote: Unfortunately, not. By now fpGUI has (most of) the look, but does not have the feel. For example: I was only making a statement against the look. I know the 'feel' as a lot more outstanding. Thanks for your

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Florian Klaempfl [EMAIL PROTECTED] wrote: If you don't want VCL compatibility, then better help with msegui. MSEgui/ide is already an excellent non native/non vcl compatible gui development system. I have previously had a look at MSEgui and Martin has a _very_ unique coding style

Re: [lazarus] popupmenu bug

2007-04-03 Thread Sebastian Kraft
Am Mittwoch, 14. Februar 2007 13:15:57 schrieb Sebastian Kraft: The popumenu appears about 100px right from the position where the mouse clicke was placed. Seems to be related with TListview because popupmenu works with Treeview... I'm using current svn and GTK2 interface Bug is still

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Marco van de Voort
On Mon, Apr 02, 2007 at 11:07:21PM +0200, Graeme Geldenhuys wrote: And non native widget differ much in little things. tab order, key bindings, resize behaviour, speed These are all things that can be addressed in the painting backend and event handling code of the supported platforms.

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Den Jean
On Tuesday 03 April 2007 00:22, Hess, Philip J wrote: A Mac feels much more alive than other computers. For example, when logging in if you mistype your password the login dialog briefly wiggles you can have that too in Mandrake. (mandriva-kdm or so), perhaps Mac stole this from linux :-;

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Mattias Gaertner
On Tue, 3 Apr 2007 17:51:08 +0300 Al Boldi [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Can someone give a short example or point me to the right mail, where AllocateHWnd is needed and why it must be implemented in

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Felipe Monteiro de Carvalho
On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I got the impression, there is no short example for the need of AllocateHWnd. The only reason seems to be making it easier to port a special winapi IPC mechanism. Isn´t that enougth? Very large packages as orpheus and graphics32 rely on it,

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Jesus Reyes
--- Felipe Monteiro de Carvalho [EMAIL PROTECTED] escribió: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I got the impression, there is no short example for the need of AllocateHWnd. The only reason seems to be making it easier to port a special winapi IPC mechanism. Isn´t

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Mattias Gaertner
On Tue, 3 Apr 2007 19:07:14 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I got the impression, there is no short example for the need of AllocateHWnd. The only reason seems to be making it easier to port a special winapi

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Felipe Monteiro de Carvalho
On 4/3/07, Jesus Reyes [EMAIL PROTECTED] wrote: A couple of questions: isn't graphics32 a package that is optimized through assembler routines? how portable would it be, in what platforms would it work?. That's not much relevant. I'll simply convert the asm routines to pascal. I'll probably

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Jesus Reyes
--- Felipe Monteiro de Carvalho [EMAIL PROTECTED] escribió: On 4/3/07, Jesus Reyes [EMAIL PROTECTED] wrote: A couple of questions: isn't graphics32 a package that is optimized through assembler routines? how portable would it be, in what platforms would it work?. That's not much

[lazarus] LAZARUS_CONFIG_DIR

2007-04-03 Thread Thomas Moritz
Hello, i have several Lazarus-Build-Dir's in my userspace: lazarus stable + fpc 2.0.4 lazarus svn + fpc 2.0.4 lazarus svn + fpc svn (2.3.1) I missing then Env-Variable LAZARUS_CONFIG_DIR in the IDE-Environments from Lazarus. It would be an big asset. LAZARUS_CONFIG_DIRs for (my) example:

Re: [lazarus] LAZARUS_CONFIG_DIR

2007-04-03 Thread Vincent Snijders
Thomas Moritz schreef: Hello, i have several Lazarus-Build-Dir's in my userspace: lazarus stable + fpc 2.0.4 lazarus svn + fpc 2.0.4 lazarus svn + fpc svn (2.3.1) I missing then Env-Variable LAZARUS_CONFIG_DIR in the IDE-Environments from Lazarus. It would be an big asset.

Re: [lazarus] LAZARUS_CONFIG_DIR

2007-04-03 Thread Vincent Snijders
Vincent Snijders schreef: Thomas Moritz schreef: Hello, i have several Lazarus-Build-Dir's in my userspace: lazarus stable + fpc 2.0.4 lazarus svn + fpc 2.0.4 lazarus svn + fpc svn (2.3.1) I missing then Env-Variable LAZARUS_CONFIG_DIR in the IDE-Environments from Lazarus. It would be an

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Micha Nelissen
Graeme Geldenhuys wrote: On 4/2/07, Micha Nelissen [EMAIL PROTECTED] wrote: IMHO, a custom drawn widgetset is never better; as user I would refuse to use it, unless forced to. Tell that to all the KDE or Qt users out there! I really don't get this argument? Why wouldn't you? If I am a

Re: [lazarus] LAZARUS_CONFIG_DIR

2007-04-03 Thread Thomas Moritz
Am Dienstag, 3. April 2007 schrieb Vincent Snijders: Hello Vincent, At the moment, i copy the config-files manually. From command line, i have not found a option to manage this. Sorry, my english is bad! ./lazarus_stable --help would give: --help or -? this help message

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Graeme Geldenhuys
On 4/3/07, Micha Nelissen [EMAIL PROTECTED] wrote: IMHO, a custom drawn widgetset is never better; as user I would refuse to use it, unless forced to. Tell that to all the KDE or Qt users out there! I really don't get this argument? Why wouldn't you? If I am a KDE user, then any Qt app

Re: [lazarus] History of the widget set design?

2007-04-03 Thread Lord Satan
On Tue, 3 Apr 2007 23:49:51 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Tell that to all the KDE or Qt users out there! I really don't get this argument? Why wouldn't you? If I am a KDE user, then any Qt app will appear native to me; so I don't get your point ? Qt draws all

Re: [lazarus] ActiveX Data Object

2007-04-03 Thread dayat
yes vincent, that's my intention. forgive I make friends become to confuse. sorry, my english so poor. On 4/3/07, Vincent Snijders [EMAIL PROTECTED] wrote: Bram Kuijvenhoven schreef: dayat wrote: I am sorry, its intention make and vanish odbc of comand of freepascal (I hope I more or less