[Lazarus] How can use TControl.Perfom(Perform(LM_KEYUP, VK_UP, 1);

2014-03-08 Thread FreeMan
Hello, In my TExLookUp Component I need to sent key stroks to subcomponent Grid. How can I do this. Its has to be crossplatform too. Example: TExLookUp.EditKeyUp( ... if Key=VK_UP then FGrid.Perform(LM_KEYUP, VK_UP, 1); if Key=VK_DOWN then FGrid.Perform(LM_KEYDOWN, VK_DOWN, 1); or

Re: [Lazarus] How can use TControl.Perfom(Perform(LM_KEYUP, VK_UP, 1);

2014-03-08 Thread Mattias Gaertner
On Sat, 08 Mar 2014 13:04:34 +0200 FreeMan freema...@delphiturkiye.com wrote: Hello, In my TExLookUp Component I need to sent key stroks to subcomponent Grid. How can I do this. Its has to be crossplatform too. Example: TExLookUp.EditKeyUp( ... if Key=VK_UP then

Re: [Lazarus] How can use TControl.Perfom(Perform(LM_KEYUP, VK_UP, 1);

2014-03-08 Thread FreeMan
emulate keystrokes, because 1-2 grid's event have to triggered, for row up/down easy way, fgrid.datasource.dataset.Next or fgrid.datasource.dataset.Prev; I mean, Edit is foucused, I can handle keystrokes on Edit, I wanna sent some keystrokes to grid too (with out grid NOT focused), Like

Re: [Lazarus] OnGuard

2014-03-08 Thread Richard Mace
Thanks Reinier. Found that the CCR svn repository seems to work. On 7 Mar 2014 09:33, Reinier Olislagers reinierolislag...@gmail.com wrote: On 06/03/2014 20:47, Richard Mace wrote: Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining

[Lazarus] Suggestion on DBGrid

2014-03-08 Thread FreeMan
Hello, In lazarus/lcl/dbgrids.pas, TDBGridOption set add item dgNextRowonEnter and dgNextRowonEnterOnLastColumn TCustomDBGrid.KeyDown(... line: 2172 if (dgNextRowonEnter in Options)then begin GetDeltaMoveNext(ssShift in Shift, DeltaCol, DeltaRow, AutoAdvance);

[Lazarus] Unable to display symbols

2014-03-08 Thread Giuliano Colla
Hello, I'm porting to Lazarus a Kylix application, where I need to display the special symbols in the range $A0 to $BF such as: ¦ ¡ ¢ £ ¤ ¥, etc. (Actually I'm using a font where those symbols are replaced by other symbols related to the application, but that's not relevant). But while, on

Re: [Lazarus] Unable to display symbols

2014-03-08 Thread Mattias Gaertner
On Sat, 08 Mar 2014 13:52:12 +0100 Giuliano Colla giuliano.co...@fastwebnet.it wrote: Hello, I'm porting to Lazarus a Kylix application, where I need to display the special symbols in the range $A0 to $BF such as: ¦ ¡ ¢ £ ¤ ¥, etc. (Actually I'm using a font where those symbols are

Re: [Lazarus] OnGuard

2014-03-08 Thread Graeme Geldenhuys
On 2014-03-08 11:50, Richard Mace wrote: Found that the CCR svn repository seems to work. I've updated the source file locations in the design time package (Github repository). It compiles and installs 100% now into Lazarus IDE and on the component palette. Regards, Graeme Regards, -

Re: [Lazarus] Suggestion on DBGrid

2014-03-08 Thread Jesus Reyes
El Sábado, 8 de marzo, 2014 6:02:01, FreeMan freema...@delphiturkiye.com escribió: Hello, In lazarus/lcl/dbgrids.pas,  TDBGridOption set  add item dgNextRowonEnter and dgNextRowonEnterOnLastColumn TCustomDBGrid.KeyDown(... line: 2172             if (dgNextRowonEnter in

Re: [Lazarus] Unable to display symbols

2014-03-08 Thread Giuliano Colla
Il 08/03/2014 14:05, Mattias Gaertner ha scritto: On Sat, 08 Mar 2014 13:52:12 +0100 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [snip] What I'm doing wrong? The solution lies in your own mail. Your mail is UTF-8 and so are the above characters. Just copy the above characters from your

Re: [Lazarus] Unable to display symbols

2014-03-08 Thread Flávio Etrusco
On Sat, Mar 8, 2014 at 9:30 PM, Giuliano Colla giuliano.co...@fastwebnet.it wrote: Il 08/03/2014 14:05, Mattias Gaertner ha scritto: On Sat, 08 Mar 2014 13:52:12 +0100 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [snip] What I'm doing wrong? The solution lies in your own mail. Your