Re: [Lazarus] ManualDock and HWND change

2009-10-16 Thread Paul Ishenin
And3mD wrote: Window and button have different Handle before and after Docking. Yes, handle recreates on dock/undock operations and on any other parent change. Best regards, Paul Ishenin. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.

[Lazarus] ManualDock and HWND change

2009-10-16 Thread And3mD
Hello When I try to do multiline captions in buttons with: SetWindowLong(btnWordWrapCaption.Handle, GWL_STYLE,GetWindowLong(btnWordWrapCaption.Handle, GWL_STYLE) or BS_MULTILINE); I found strange behavior. In FormCreate it doesn't work but in onclick works ok. I made some tests and the

Re: [Lazarus] working solution for Lazarus: connection to a remote PC via Lazarus

2009-10-16 Thread Jürgen Hestermann
I am trying to connect from Linux to another Linux machine via SSH. Has anybody found a solution that really works? Have you tried synapse together with cryptlib? I am not sure whether it works in your case but at least it should. I have problems using cryptlib but I am trying to connect to ne

lazarus@lists.lazarus.freepascal.org

2009-10-16 Thread Paul Ishenin
Florian Klaempfl wrote: Trunk from at least Monday? My fault. One day earlier. Best regards, Paul Ishenin. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] working solution for Lazarus: connection to a remote PC via Lazarus

2009-10-16 Thread Cubic
Hi. I am trying to connect from Linux to another Linux machine via SSH. Has anybody found a solution that really works? Thanks. -- Speak less. Think more. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepasca

Re: [Lazarus] Bug (whis) at Procedure List

2009-10-16 Thread Raistware
cbObjects.ItemIndex := cbObjects.Items.IndexOf(lisPListAll); if cbObjects.Text = '' then cbObjects.ItemIndex := 1; end; --- Hope someone apply it to svn/git. Cheers, Raul Ferriz __ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4514 (20091016) _

Re: [Lazarus] Function call from thread

2009-10-16 Thread SteveG
On Saturday 17 October 2009 00:06:27 Vincent Snijders wrote: > SteveG schreef: > > Would anybody know if it is possible to tell if a function has been > > called from the Main (GUI) thread, or a 'child' thread ? > > (determined within the function being called) > > Yes, that is possible. Compare Ge

Re: [Lazarus] Function call from thread

2009-10-16 Thread Vincent Snijders
SteveG schreef: Would anybody know if it is possible to tell if a function has been called from the Main (GUI) thread, or a 'child' thread ? (determined within the function being called) Yes, that is possible. Compare GetCurrentThreadID with MainThreadID. Vincent --

[Lazarus] Function call from thread

2009-10-16 Thread SteveG
Would anybody know if it is possible to tell if a function has been called from the Main (GUI) thread, or a 'child' thread ? (determined within the function being called) Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://li

Re: [Lazarus] 'no resources' on new project

2009-10-16 Thread Vincent Snijders
Stijn Sanders schreef: I've installed 0.9.28 over 0.9.26 to upgrade. I noticed most things still linked to 2.2.2, I tried to change that manually, but fouled up, so I deleted environmentoptions.xml and ran the 0.9.28 installer again. Now, If I start a new blank project and compile it, I get th

[Lazarus] 'no resources' on new project

2009-10-16 Thread Stijn Sanders
I've installed 0.9.28 over 0.9.26 to upgrade. I noticed most things still linked to 2.2.2, I tried to change that manually, but fouled up, so I deleted environmentoptions.xml and ran the 0.9.28 installer again. Now, If I start a new blank project and compile it, I get this. What's wrong? Is it

Re: [Lazarus] Is there a way to NOT use a transaction in sqldb ?

2009-10-16 Thread Alexsander Rosa
So your suggestion is to ditch sqldb and switch to zeosdbo instead of try to fix sqldb?** 2009/10/15 Luca Olivetti > En/na Zaher Dirkey ha escrit: > >> Just open the connection, get your query results then close the >> connection, every time you query, do not keep the connection to >> database o

Re: [Lazarus] Bug (whis) at Procedure List

2009-10-16 Thread Alexander Klenin
On Fri, Oct 16, 2009 at 21:59, Graeme Geldenhuys wrote: > 2009/10/16 Raistware : >> So, In the listbox I have: >> Ninguno >> Tclass1 >> Tclass2 >> >> >> >> So it seem to be a problem with sorting, that you assumes that the first >> item should always be 'All' ? > > Ah, that would explain it then.

Re: [Lazarus] Bug (whis) at Procedure List

2009-10-16 Thread Raistware
ind the index of the '' resourcestring and make it the selected option ... but I don't know if it's posible or if it would be easy to accomplish. __ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4514 (20091016) __ ESET NOD32 Ant

Re: [Lazarus] Bug (whis) at Procedure List

2009-10-16 Thread Graeme Geldenhuys
2009/10/16 Raistware : > So, In the listbox I have: > Ninguno > Tclass1 > Tclass2 > > > > So it seem to be a problem with sorting, that you assumes that the first > item should always be 'All' ? Ah, that would explain it then. I'm not 100% sure about how to get around this though. Maybe sort the

[Lazarus] How to save dbgrid comlumns state?

2009-10-16 Thread Petr, OK2CQR
Hi, I'd like to save column position, visible and with in DBGrid. In Delphi I use this: for J:= 0 to Grid.Columns.Count - 1 do begin Section:= Form.Name; Ident:= Grid.Name + ' ' + Grid.Columns[J].FieldName; Grid.Columns[J].Width:= StrToInt(Ini.ReadString(Section, Ident + ' Width', IntToSt

Re: [Lazarus] Bug (whis) at Procedure List

2009-10-16 Thread Raistware
Graeme Geldenhuys escribió: 2009/10/2 Raistware : At "Procedure List window" should be selected "All" by default. By now it's You mean the combobox in the top right of the screen? I'm using v.0.9.28 and v.0.9.29 and in both versions of Lazarus, the "All" is the default option in the O