[Lazarus] IDE coolbar position not saving

2015-04-02 Thread FreeMan
lazarus r48585 yosemite qt x64 IDE coolbar position not saving. After restart, always setting to default position. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] IDE coolbar position not saving

2015-04-02 Thread Balazs Szekely
From: Juha Manninen juha.mannine...@gmail.com To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sent: Thursday, April 2, 2015 11:11 AM Subject: Re: [Lazarus] IDE coolbar position not saving On Thu, Apr 2, 2015 at 11:08 AM, FreeMan freema...@delphiturkiye.com wrote:

Re: [Lazarus] What's this error?

2015-04-02 Thread Santiago A.
El 01/04/2015 a las 20:35, Santiago A. escribió: Hello: Error: identifier idents no member _Release There is no line number, no unit. Nothing else but the text above. I don't know where to look. Any hint? Solved. I used TFPGMapInterfacedObjectData with an object that was not an Interface.

Re: [Lazarus] IDE coolbar position not saving

2015-04-02 Thread Juha Manninen
On Thu, Apr 2, 2015 at 11:08 AM, FreeMan freema...@delphiturkiye.com wrote: lazarus r48585 yosemite qt x64 IDE coolbar position not saving. After restart, always setting to default position. True. -- ___ Lazarus mailing list

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread FreeMan
constant name are wrong I think, ssMeta - ctrl key ssCtrl - cmd (command) key fpc r30400 lazarus r48594 on yosemite qt x64 if Shift * [ssShift, ssAlt, ssCtrl, ssMeta] = [ssCtrl]then ShowMessage('ssCtrl(command key) pressed'); if Shift * [ssShift, ssAlt, ssCtrl, ssMeta] =

[Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread FreeMan
fpc r30400 lazarus r48585 yosemite qt x64 procedure TFRM_.TLabel1_MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X , Y: Integer); begin if(Button=mbRight)then begin if Shift=[ssCtrl] then begin ShowMessage('ctrl key pressed :'); end; end; end; while debuging, move

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread Graeme Geldenhuys
On 2015-04-02 12:54, Vojtěch Čihák wrote: if ssCtrl in Shift then ... instead. It depends on how precise you want to be. Do you want that if statement to execute even if Ctrl+Shift is pressed, or _only_ when Shift is pressed? To get ONLY the specific modifier key, then you need to mask the

Re: [Lazarus] enumerator operator not supported by codetools ?

2015-04-02 Thread Mattias Gaertner
On Thu, 2 Apr 2015 13:58:45 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: Hi, When adding an enumerator operator to source code operator Enumerator(ASchema: TSchema): TSchemaEnumerator; The codetools stop working. Works here. I get an error 'Expected end.,

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread Vojtěch Čihák
You are right, what I said is valid for MouseDown. In MouseUp you have ssCtrl in Shift and Buton=mbRight   V.   __ Od: FreeMan freema...@delphiturkiye.com Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 02.04.2015

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread Vojtěch Čihák
Hi,   You must use: if ssCtrl in Shift then ... instead.   That's because mouse-buttons are in Shift too. If you do Ctrl+right-click, then Shift=[ssRight, ssCtrl]. And possibly something else (ssCaps).   V. __ Od: FreeMan

Re: [Lazarus] enumerator operator not supported by codetools ?

2015-04-02 Thread Michael Van Canneyt
On Thu, 2 Apr 2015, Mattias Gaertner wrote: On Thu, 2 Apr 2015 13:58:45 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: Hi, When adding an enumerator operator to source code operator Enumerator(ASchema: TSchema): TSchemaEnumerator; The codetools stop working. Works

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread FreeMan
in mouseup tnotifyevent, shift parameter has not value of mouse button, values is zero. Button parameter has value, mbRight etc. if ssCtrl in Shift then... has same result, I mean not handle ctrl or other keys(ssalt, ssshift) On 2.04.2015 14:54, Vojtěch Čihák wrote: Hi, You must use: if

[Lazarus] enumerator operator not supported by codetools ?

2015-04-02 Thread Michael Van Canneyt
Hi, When adding an enumerator operator to source code operator Enumerator(ASchema: TSchema): TSchemaEnumerator; The codetools stop working. I get an error 'Expected end., but...' Michael. -- ___ Lazarus mailing list

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread Graeme Geldenhuys
On 2015-04-02 15:33, FreeMan wrote: Yes your code is working and hold ssShift, just change ssShift to ssCtrl, and not work, I mean not show any message. I tested here by changing ssShift to ssCtrl and it works perfectly. if (Shift*[ssShift,ssAlt,ssCtrl]) = [ssCtrl] then

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread FreeMan
Thank you Graeme, Yes your code is working and hold ssShift, just change ssShift to ssCtrl, and not work, I mean not show any message. What is your test system ? I wrote in first message, yosemite qt x64. if (Shift*[ssShift,ssAlt,ssCtrl]) = [ssCtrl] then ShowMessage('really, only

[Lazarus] Mild bug in 1.4RC2?

2015-04-02 Thread JuuS
Hi all, I'm working with Lazarus 1.4RC2 on kubuntu 14.04. Tonight while designing a form I had a a tcheckbox and a tcombobox that had become hidden. I went to the object inspector and set the Left property to 1, hit enter, then when I went to move the control to the proper place with the mouse

Re: [Lazarus] how to handle Shift=[ssCtrl]

2015-04-02 Thread JuuS
On 04/02/2015 04:33 PM, FreeMan wrote: Thank you Graeme, Yes your code is working and hold ssShift, just change ssShift to ssCtrl, and not work, I mean not show any message. What is your test system ? I wrote in first message, yosemite qt x64. Not sure if anyone already mentioned this but

Re: [Lazarus] Mild bug in 1.4RC2?

2015-04-02 Thread JuuS
On 04/02/2015 06:52 PM, JuuS wrote: Hi all, I'm working with Lazarus 1.4RC2 on kubuntu 14.04. Tonight while designing a form I had a a tcheckbox and a tcombobox that had become hidden. I went to the object inspector and set the Left property to 1, hit enter, then when I went to move the

[Lazarus] Does sdfdataset support locate and lookup?

2015-04-02 Thread John Landmesser
Tipps are welcome: This code snippet doesn't work: var val : Variant; begin val := Editinput.Text; val := SdfDataSetNew1.Lookup('Spalte1',VarArrayOf([val]),'Spalte3'); if not VarIsNull(val) then Editoutput.Text:=val[0] else Editoutput.Text:= 'VarIsNull'; perhaps i ask here

Re: [Lazarus] Mild bug in 1.4RC2?

2015-04-02 Thread Vojtěch Čihák
Hi,   this is already resolved in trunk.   V.   __ Od: JuuS j...@mykolab.ch Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 02.04.2015 18:53 Předmět: [Lazarus] Mild bug in 1.4RC2? Hi all, I'm working with

Re: [Lazarus] Mild bug in 1.4RC2?

2015-04-02 Thread Vojtěch Čihák
I'm sure it was this: http://bugs.freepascal.org/view.php?id=23891  __ Od: Juha Manninen juha.mannine...@gmail.com Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 02.04.2015 20:09 Předmět: Re: [Lazarus] Mild bug

Re: [Lazarus] Does sdfdataset support locate and lookup?

2015-04-02 Thread Michael Van Canneyt
On Thu, 2 Apr 2015, John Landmesser wrote: Tipps are welcome: This code snippet doesn't work: var val : Variant; begin val := Editinput.Text; val := SdfDataSetNew1.Lookup('Spalte1',VarArrayOf([val]),'Spalte3'); if not VarIsNull(val) then Editoutput.Text:=val[0] else

Re: [Lazarus] Mild bug in 1.4RC2?

2015-04-02 Thread Juha Manninen
On Thursday, April 2, 2015, Vojtěch Čihák vojtech.ci...@atlas.cz wrote: this is already resolved in trunk. Do you know the revision? Is there a bug report? Maybe it should be merged for 1.4. Juha -- ___ Lazarus mailing list