Re: [Lazarus] StringGrid

2013-07-07 Thread zeljko
On 07/07/2013 02:24 AM, Kamen Ketev wrote: Hello, I want to change certain cells in StringGrid. Here is an example, but it changes all cells. Any idea where is wrong? procedure TForm1.StringGrid1Click(Sender: TObject); var i, j: integer; begin for i := 1 to 4 do for j := 1 to 4

Re: [Lazarus] StringGrid

2013-07-07 Thread Vojtěch Čihák
Try this:   procedure TForm1.StringGrid1PrepareCanvas(sender: TObject; aCol, aRow: Integer; aState: TGridDrawState); begin   if aCol = aRow then (Sender as TStringGrid).Canvas.Font.Style := [fsBold]; end;   Vojtěch  __ Od: Kamen Ketev

[Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Marc Santhoff
Hi, as said in the subject, if hitting CTRL-space and selecting a property or object variable the code inserted look like this: if fHasStatusBar then StatusBar.Visible:=; What I'd like to have is like that: if fHasStatusBar then StatusBar.Visible := ; How can this behaviour get tuned?

Re: [Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Vojtěch Čihák
Hi, Tools - Options... - (node) Codetools - (node) Space   Insert space in front of: Symbol Insert space after: Symbol   Vojtěch  __ Od: Marc Santhoff m.santh...@web.de Komu: lazarus@lists.lazarus.freepascal.org Datum: 07.07.2013 14:54

Re: [Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Mattias Gaertner
On Sun, 07 Jul 2013 14:51:15 +0200 Marc Santhoff m.santh...@web.de wrote: Hi, as said in the subject, if hitting CTRL-space and selecting a property or object variable the code inserted look like this: if fHasStatusBar then StatusBar.Visible:=; What I'd like to have is like that:

[Lazarus] Accents in IDE and my apps

2013-07-07 Thread Éderson Cássio
When I type accented letters in the IDE or in my forms, they appear duplicated: áá êê íí õõ üü ... Searching the bugtracker, I found this:http://bugs.freepascal.org/view.php?id=15688 It seems to be a GTK2 problem, in the CheckDeadKey procedure (lcl/interfaces/gtk2/gtk2proc.inc). I tried

Re: [Lazarus] Accents in IDE and my apps

2013-07-07 Thread Mattias Gaertner
On Sun, 07 Jul 2013 15:22:53 -0300 Éderson Cássio ederson_cas...@yahoo.com.br wrote: When I type accented letters in the IDE or in my forms, they appear duplicated: áá êê íí õõ üü ... Searching the bugtracker, I found this:http://bugs.freepascal.org/view.php?id=15688 It seems to be a

Re: [Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Marc Santhoff
Am Sonntag, den 07.07.2013, 16:41 +0200 schrieb Vojtěch Čihák: Hi, Tools - Options... - (node) Codetools - (node) Space Insert space in front of: Symbol Insert space after: Symbol That did the trick, thank you both! -- Marc Santhoff m.santh...@web.de --

Re: [Lazarus] Accents in IDE and my apps

2013-07-07 Thread Éderson Cássio
Em 07-07-2013 15:54, Mattias Gaertner escreveu: On Sun, 07 Jul 2013 15:22:53 -0300 Éderson Cássio ederson_cas...@yahoo.com.br wrote: When I type accented letters in the IDE or in my forms, they appear duplicated: áá êê íí õõ üü ... Searching the bugtracker, I found

Re: [Lazarus] Accents in IDE and my apps

2013-07-07 Thread Éderson Cássio
Em 07-07-2013 21:40, Éderson Cássio escreveu: Em 07-07-2013 15:54, Mattias Gaertner escreveu: On Sun, 07 Jul 2013 15:22:53 -0300 Éderson Cássio ederson_cas...@yahoo.com.br wrote: When I type accented letters in the IDE or in my forms, they appear duplicated: áá êê íí õõ üü ... Searching the