[lazarus] CRLF problem with editor

2007-08-23 Thread DarekM
Hi How to disable changing EndOfLine mark by Lazarus. I have source written under Delphi with CRLF on each line. I try to edit this file under Lazarus in Linux. But unfortunately he change all lines to LF. But when I try to sent this come back by SVN whole file is inside DIFF (all lines have

Re: [lazarus] CRLF problem with editor

2007-08-23 Thread DarekM
Henry Vermaak pisze: On 23/08/07, DarekM [EMAIL PROTECTED] wrote: Hi How to disable changing EndOfLine mark by Lazarus. I have source written under Delphi with CRLF on each line. I try to edit this file under Lazarus in Linux. But unfortunately he change all lines to LF. But when I try

Re: [lazarus] ComboBox.OnChange event

2007-04-13 Thread DarekM
Andrew Haines napisał(a): Hi, Is it appropriate for ComboBox.OnChange to fire during the creation of a ComboBox? For me no What does Delphi do? Don;t When should it fire? whe You change selection or edit text I submit patch to mantis yesterday Darek

[lazarus] how to set propery yalign

2007-04-12 Thread darekm
Hi I've try to set property of render of combobox (GTK2) I need set it to 0.0 (default is 0.5) but i can't I've try yet: g_object_set (renderer, 'yalign',[ 0.9]); gtk_cell_layout_set_attributes(PGtkCellLayout(AWidget), renderer, ['text', 0,'yalign',0.0,nil]); gtk_cell_layout_add_attribute(

[lazarus] patch for TGtkWidgetSet.DrawText

2007-04-05 Thread darekm
Hi Attached patch repair TGtkWidgetSet.DrawText under GTK2 (I receive crush). Problem was connected with WordWrap. Darek Index: interfaces/gtk/gtkobject.inc === --- interfaces/gtk/gtkobject.inc(wersja 10881) +++

Re: [lazarus] Qt Mailling list

2006-11-02 Thread DarekM
Micha Nelissen napisał(a): Al Boldi wrote: http://www.lazarus.freepascal.org/mailman/listinfo/qt How about starting one for the IntraWEB project? I work from several week on framework similar to IntraWeb (till now I don;t know that is such component). I've plan to show it

Re: [lazarus] Qt Mailling list

2006-11-02 Thread DarekM
The problem is that at design-time, you need to display the regular components on a form, and at runtime you need to emit HTML code. And all this in such a way that the run-time code does not contain any GUI widget set dependent code. For me design is not so important (simply I don;t use

[lazarus] [patch]painting disabled speedbutton

2006-07-14 Thread darekm
Hi as in subject Darek Index: include/speedbutton.inc === --- include/speedbutton.inc(wersja 9610) +++ include/speedbutton.inc(kopia robocza) @@ -459,7 +459,7 @@ // ' DFCS_INACTIVE=',FLastDrawFlags and DFCS_INACTIVE,

[lazarus] [patch] paint disabled label and panel

2006-07-14 Thread darekm
Index: include/customlabel.inc === --- include/customlabel.inc(wersja 9610) +++ include/customlabel.inc(kopia robocza) @@ -350,9 +350,10 @@ begin R := Rect(0,0,Width,Height); With Canvas do begin -Color :=

[lazarus] [patch] Tooltip expression not disappear when mouse run wheel

2006-07-14 Thread darekm
Hi when I stay over identifier tooltip is shown, but when I run mouse wheel don't disappear, only when move mouse attached patch repair it Darek Index: uniteditor.pp === --- uniteditor.pp (wersja 9610) +++ uniteditor.pp

Re: [lazarus] Lazarus under GTK2

2006-06-08 Thread darekm
Second patch repair About form and size of font in editor Fernando Kochhann wrote: Yeah! It works! Some bugs occurs, but I'm happy with the Lazarus evolution! Can You give an example. Darek Index: interfaces/gtk/gtkobject.inc

[lazarus] Lazarus under GTK2

2006-06-06 Thread DarekM
Hi I'm proud to anons: Lazarus under GTK2 don't crash First screenshot: http://www.emadar.com/lazarusgtk2.png Darek PS. I send Patch _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: [lazarus] [patch] ChecklistBox.onClickCheck

2006-06-04 Thread darekm
repair patch change typo remove change in DestroyWIndow Mattias Gaertner wrote: On Fri, 02 Jun 2006 08:31:18 +0200 DarekM [EMAIL PROTECTED] wrote: Vincent Snijders napisa__(a): DarekM wrote: Vincent Snijders napisa__(a): darekm wrote: Hi attached

Re: [lazarus] [patch] ChecklistBox.onClickCheck

2006-06-02 Thread DarekM
Vincent Snijders napisał(a): DarekM wrote: Vincent Snijders napisał(a): darekm wrote: Hi attached patch added: ChecklistBox.onClickCheck (for GTK and GTK2) publish property TCheckBox.font remove tCustomLabel.FontChange(Sender: TObject); (default is fontchanged) Thanks for the patch

[lazarus] [patch] canvas.freehandle

2006-05-28 Thread darekm
Hi its problem with modal forms, when I want to show modal, erase, show modal again, and paint rectangle attached patch repaint this Darek Index: interfaces/gtk/gtkproc.inc === --- interfaces/gtk/gtkproc.inc (wersja 9371) +++

[lazarus] [patch] tComboBox.dropdownCount

2006-05-27 Thread darekm
HI as in subject - for gtk and remove double fired OnChange Darek Index: interfaces/gtk/gtkproc.inc === --- interfaces/gtk/gtkproc.inc (wersja 9352) +++ interfaces/gtk/gtkproc.inc (kopia robocza) @@ -963,11 +963,12 @@

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-21 Thread darekm
Pleas test this patch problem was when speedbutton.transparent=true there is problem with tGroupBox on GTK2, MouseEnter is not triggered and then Flat not work Marien van Westen wrote: On 5/20/06, *DarekM* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Marien van Westen

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-20 Thread DarekM
Micha Nelissen napisa(a): On Fri, 19 May 2006 21:01:03 +0200 "Marien van Westen" [EMAIL PROTECTED] wrote: Maybe at design time transparency and flat are disabled. Please run the program under Delphi. At run-time the speedbuttons have the same behaviour. I

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-20 Thread DarekM
Micha Nelissen napisa(a): On Sat, 20 May 2006 10:37:01 +0200 DarekM [EMAIL PROTECTED] wrote: Transparency work both, with flat=true button has border only when mouse is over with transparency=true don't fill inner area That contradicts Marien's picture 'speedbuttons

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-20 Thread DarekM
Micha Nelissen napisa(a): On Sat, 20 May 2006 14:54:40 +0200 DarekM [EMAIL PROTECTED] wrote: Transparency work both, with flat=true button has border only when mouse is over with transparency=true don't fill inner area That contradicts

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-20 Thread DarekM
Marien van Westen napisał(a): On 5/20/06, DarekM [EMAIL PROTECTED] wrote: Micha Nelissen napisał(a): On Sat, 20 May 2006 10:37:01 +0200 DarekM [EMAIL PROTECTED] wrote: Transparency work both, with flat=true button has border only when mouse

Re: [lazarus] how to test my changes in the lcl in a small app?

2006-05-19 Thread DarekM
Alexandre Leclerc napisał(a): I did made some changes to the lcl, but would like to test before posting. But I don't see any effets when compiling my app. There is something I'm missing? do I have to: make clear ? make lcl ? I have open one terminal window and after any changes in LCL do cd

[lazarus] [patch] label with accent (and umlaut)

2006-05-18 Thread darekm
Hi patch to bug 996 works both GTK and GTK2, Darek Index: interfaces/gtk/gtkwinapi.inc === --- interfaces/gtk/gtkwinapi.inc(wersja 9299) +++ interfaces/gtk/gtkwinapi.inc(kopia robocza) @@ -2887,8 +2887,6 @@

Re: [lazarus] [patch] popmenu.align added

2006-05-13 Thread darekM
Mattias Gaertner napisa(a): They are not all properties, only one. Its not so important, but I think its better if newbie compiling without error and his program not work proper than not compiling at all. No. At least not in general. If I learned one thing from lazarus in

[lazarus] resolved bugs

2006-05-13 Thread darekM
Hi for me these bugs are fixed: 819: Can not change Fonts in TMemo 0001188: Color property of tbutton doesn't work. 0001671: tlistbox OnSelectionChange - each change gets called twice 0001500: ComboBox events OnClick, OnSelect and OnChange are not called properly 0001684: Not work Font

Re: [lazarus] [patch] popmenu.align added

2006-05-10 Thread darekm
Mattias Gaertner wrote: On Tue, 09 May 2006 23:17:13 +0200 darekm [EMAIL PROTECTED] wrote: HI as in subject and some const Where is the code that implements the property? what code property Alignment: TPopupAlignment read FAlignment write FAlignment default paLeft; its

Re: [lazarus] [patch] popmenu.align added

2006-05-10 Thread darekM
Mattias Gaertner napisa(a): On Wed, 10 May 2006 17:55:05 +0200 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Wed, 10 May 2006 09:16:44 +0200 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote

Re: [lazarus] [patch] popmenu.align added

2006-05-10 Thread darekM
Mattias Gaertner napisa(a): On Wed, 10 May 2006 20:31:24 +0200 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Wed, 10 May 2006 17:55:05 +0200 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa

[lazarus] [patch] popmenu.align added

2006-05-09 Thread darekm
HI as in subject and some const Darek Index: lcltype.pp === --- lcltype.pp (wersja 9253) +++ lcltype.pp (kopia robocza) @@ -211,6 +211,7 @@ DT_RIGHT = 2; DT_VCENTER = 4; DT_BOTTOM = 8; + DT_EXPANDTABS = 64;

Re: [lazarus] [patch] textOut on gtk2

2006-05-08 Thread darekm
Mattias Gaertner wrote: On Sun, 07 May 2006 00:28:23 +0200 darekm [EMAIL PROTECTED] wrote: Hi My patch works better with size of font and font with XLFD name (see Tony Maro mail) distinguish GTK1 from GTK2 on utf8 draw text better works with color About: + if (aSize=0

[lazarus] [patch] simplier tEdit widget for GTK2

2006-05-08 Thread darekm
HI standalone create handle for tEdit and some typos in inheritance Darek Index: interfaces/gtk2/gtk2wsstdctrls.pp === --- interfaces/gtk2/gtk2wsstdctrls.pp (wersja 9253) +++ interfaces/gtk2/gtk2wsstdctrls.pp (kopia

Re: [lazarus] [patch] textOut on gtk2

2006-05-08 Thread darekm
repaired patch On Sun, 07 May 2006 00:28:23 +0200 darekm [EMAIL PROTECTED] wrote: Hi My patch works better with size of font and font with XLFD name (see Tony Maro mail) distinguish GTK1 from GTK2 on utf8 draw text better works with color About: + if (aSize=0

Re: [lazarus] Interfaces ready for prime-time

2006-05-05 Thread darekM
I just want to confirm my findings and those from the IRC room. From the looks of it, the only interfaces that are really working right now are Win32 and GTK1. I played with the QT interface but it constantly crashed with anything more intense than a label and a button. The GTK2 interface

Re: [lazarus] PDAs, Smartphones and form design

2006-04-28 Thread darekM
Felipe Monteiro de Carvalho napisał(a): Hello, I´ve being talking to roozbeh about adding Smartphone and PDA support for Lazarus. Bellow I will try to summarize some problems and give a possible solution. Please contribute with your own solutions or other problems I haven´t thought of.

Re: [lazarus] Re: PDAs, Smartphones and form design

2006-04-28 Thread darekM
roozbeh gholizadeh napisał(a): On Fri, 28 Apr 2006 09:41:54 +0330, darekM [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho napisał(a): Hello, I´ve being talking to roozbeh about adding Smartphone and PDA support for Lazarus. Bellow I will try to summarize some problems and give

Re: [lazarus] Re: Re: Re: unicode lcl?

2006-04-28 Thread darekM
roozbeh gholizadeh napisał(a): On Thu, 27 Apr 2006 00:02:54 +0330, Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Wed, 26 Apr 2006 19:42:46 +0330 roozbeh gholizadeh [EMAIL PROTECTED] wrote: On Wed, 26 Apr 2006 12:12:10 +0330, Marc Weustink [EMAIL PROTECTED] wrote:

Re: [lazarus] [patch] textOut on gtk2

2006-04-28 Thread darekm
Jesus Reyes wrote: --- darekm [EMAIL PROTECTED] escribió: Hi textOut once more and clipping (sometimes buttons are not refresh after tHint disappear Darek [snip] I also have a patch for GTK2 CreateFontIndirectEx, I simplified the function a little and added support for font

Re: [lazarus] Re: Re: Re: unicode lcl?

2006-04-28 Thread darekM
Marc Weustink napisał(a): darekM wrote: roozbeh gholizadeh napisał(a): On Thu, 27 Apr 2006 00:02:54 +0330, Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Wed, 26 Apr 2006 19:42:46 +0330 roozbeh gholizadeh [EMAIL PROTECTED] wrote: On Wed, 26 Apr 2006 12:12:10 +0330

[lazarus] [patch] wordWrap with string in UTF8

2006-04-27 Thread darekm
as in subject Darek Index: interfaces/gtk/gtkobject.inc === --- interfaces/gtk/gtkobject.inc(wersja 9183) +++ interfaces/gtk/gtkobject.inc(kopia robocza) @@ -6969,6 +6965,7 @@ function FindLineEnd(LineStart:

[lazarus] [patch] improvements for buttons

2006-04-25 Thread darekm
hi in patch are small improvements for buttons now speedbuttons has transparent color property for speedbtn and small bugfix for toolbutton Darek Index: include/speedbutton.inc === --- include/speedbutton.inc (wersja

[lazarus] [patch] texout for gtk2

2006-04-25 Thread darekm
Hi as in subject work with UTF8 and color Darek PS. how to discover on runtime which widgetset is running Index: interfaces/gtk/gtklclintf.inc === --- interfaces/gtk/gtklclintf.inc (wersja 9179) +++

Re: [lazarus] [patch] tLabel on gtk2

2006-04-25 Thread darekm
Mattias Gaertner wrote: On Tue, 18 Apr 2006 21:15:26 +0200 darekm [EMAIL PROTECTED] wrote: Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled rendering, painted tex show very bad after some piece of time. for multiline text

Re: [lazarus] [patch] tLabel on gtk2

2006-04-25 Thread darekM
I'm not sure. With tmHeight I get the wrong values. Synedit moves all lines some pixels below and cuts the rest. GetTextHeight does not have this problem. Maybe there is another bug somewhere else. I fix this bug, with first line we should move only tmAscent (gtk_draw_text need base

[lazarus] [patch] textOut on gtk2

2006-04-25 Thread darekm
Hi textOut once more and clipping (sometimes buttons are not refresh after tHint disappear Darek Index: interfaces/gtk/gtkwinapi.inc === --- interfaces/gtk/gtkwinapi.inc(wersja 9183) +++ interfaces/gtk/gtkwinapi.inc

[lazarus] [patch] Transparent now work in tSpeedButton

2006-04-20 Thread darekm
HI this patch is bugfix for setTransparent second: added Color property for tSpeedButton and tBitBtn Darek Index: include/speedbutton.inc === --- include/speedbutton.inc (wersja 9149) +++ include/speedbutton.inc (kopia

[lazarus] [patch] setcolor for tMemo on gtk2

2006-04-18 Thread darekm
Hi attached patch added setcolor, setfont for tMemo setColor to tComboBox all for gtk2 Darek Index: interfaces/gtk2/gtk2wsstdctrls.pp === --- interfaces/gtk2/gtk2wsstdctrls.pp (wersja 9143) +++

[lazarus] [patch] tLabel on gtk2

2006-04-18 Thread darekm
Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled rendering, painted tex show very bad after some piece of time. for multiline text space between lines are to huge setup size and color of tLabel are make up. Darek Index:

Re: [lazarus] [patch] for tscrollBox

2006-04-18 Thread darekm
Mattias Gaertner wrote: On Sat, 15 Apr 2006 21:44:52 +0200 darekm [EMAIL PROTECTED] wrote: Hi attached patch repair calculation of visibility scrollbar Clicked on tButton now work for scrolled window all under GTK+ Note: DisableAlign/EnableAlign needs try..finally, otherwise

[lazarus] [patch] for tscrollBox

2006-04-15 Thread darekm
Hi attached patch repair calculation of visibility scrollbar Clicked on tButton now work for scrolled window all under GTK+ Darek Index: forms.pp === --- forms.pp(wersja 9125) +++ forms.pp(kopia robocza) @@ -915,6

[lazarus] [patch] font.setsize for tLabel in GTK2

2006-04-11 Thread darekm
hi as in subject and enable autoadjust size of tLabel after changing font Darek Index: interfaces/gtk2/gtk2winapi.inc === --- interfaces/gtk2/gtk2winapi.inc (wersja 9113) +++ interfaces/gtk2/gtk2winapi.inc (kopia robocza)

[lazarus] tLabel, tComboBox patch

2006-04-06 Thread darekm
hi attached patch 1. set up single line for drawing caption without multi line 2. much faster drawText to single line option 3.for tComboBox change is called twice 4. added {$IFNDEF gtk_no_set_modal} because I want disable gtk_window_set_modal(GtkWindow, true); for me

[lazarus] tPanel setColor patch

2006-04-06 Thread darekm
Hi this patch remove flickering on tPanel Darek Index: interfaces/gtk/gtkwsextctrls.pp === --- interfaces/gtk/gtkwsextctrls.pp (wersja 9085) +++ interfaces/gtk/gtkwsextctrls.pp (kopia robocza) @@ -195,6 +195,7 @@ private

[lazarus] setcolor for tMemo patch

2006-03-30 Thread darekm
Hi attached patch has: setColor and setFont for tMemo ShowAccelChar to tSpeedButton some improvements for tLabel Darek Index: interfaces/gtk/gtkwsstdctrls.pp === --- interfaces/gtk/gtkwsstdctrls.pp (wersja 9056) +++

Re: [lazarus] patch to tComboBox

2006-03-28 Thread darekM
Mattias Gaertner napisa(a): On Thu, 23 Mar 2006 20:43:11 +0100 darekm [EMAIL PROTECTED] wrote: Hi new patch for tComboBox Applied. Thanks. Why did you commented modal windows? I didn't apply that. Mattias Sorry, I forget about it, but i will ask You to disable

Re: [lazarus] patch to tComboBox

2006-03-28 Thread darekM
Mattias Gaertner napisa(a): On Tue, 28 Mar 2006 21:06:12 +0200 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Thu, 23 Mar 2006 20:43:11 +0100 darekm [EMAIL PROTECTED] wrote: Hi new patch for tComboBox

[lazarus] patch ffor label paint - one more

2006-03-26 Thread darekm
Hi Attached patch enable SingleLine for draw tLabel 1. correct calculate size of text for drawtext with DT_SINGLELINE 2.We should enable SingleLine in Paint and CalcSize (as I set) or disable in both. Darek Index: interfaces/gtk/gtkwinapi.inc

[lazarus] patch for tComboBox

2006-03-22 Thread darekm
Resolved: why selecting a combobox on editor options and pressing Escape raises an exception? repair memory leak in tComboBox Darek Index: interfaces/gtk/gtkproc.inc === --- interfaces/gtk/gtkproc.inc (wersja 8985) +++

[lazarus] patch to tComboBox

2006-03-22 Thread darekm
Hi please throw up last patch, this works better Darek Index: interfaces/gtk/gtkproc.inc === --- interfaces/gtk/gtkproc.inc (wersja 8985) +++ interfaces/gtk/gtkproc.inc (kopia robocza) @@ -995,7 +995,7 @@ if not

Re: [lazarus] TPopupMenu / TMenuItem width / height properties

2006-03-22 Thread darekm
Alexander Todorov wrote: Hi, I need to get width and height of a popup menu or its items. For Gtk something like gdk_window_get_size (menu_item-window, width, height); will do the trick I guess. For win32 there are some API functions I suppose. You have to add new property to WinControl

Re: [lazarus] patch to tComboBox

2006-03-22 Thread darekm
Mattias Gaertner wrote: On Wed, 22 Mar 2006 21:40:31 +0100 darekm [EMAIL PROTECTED] wrote: Hi please throw up last patch, this works better It seems, you disabled using the widgetset TStrings in InitializeWnd. Where is it assigned now? On CreateComboBox You assign from

Re: [lazarus] patch to tComboBox

2006-03-22 Thread darekM
Mattias Gaertner napisa(a): On Wed, 22 Mar 2006 22:26:32 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Wed, 22 Mar 2006 21:40:31 +0100 darekm [EMAIL PROTECTED] wrote: Hi please throw up last patch, this works better

Re: [lazarus] patch to tComboBox

2006-03-22 Thread darekM
Mattias Gaertner napisa(a): On Wed, 22 Mar 2006 22:59:40 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Wed, 22 Mar 2006 22:26:32 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote

Re: [lazarus] patch fo tLabel

2006-03-18 Thread darekm
Mattias Gaertner wrote: On Tue, 14 Mar 2006 18:21:32 +0100 darekm [EMAIL PROTECTED] wrote: tLabel should care about WordWrap property attached patch repair it Thanks. Applied. Mattias Thanks but I find new item: Index: include/customlabel.inc

Re: [lazarus] patch fo tLabel

2006-03-18 Thread darekM
Mattias Gaertner napisa(a): On Sat, 18 Mar 2006 13:35:51 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Tue, 14 Mar 2006 18:21:32 +0100 darekm [EMAIL PROTECTED] wrote: tLabel should care about WordWrap property

Re: [lazarus] patch fo tLabel

2006-03-18 Thread darekm
Mattias Gaertner wrote: On Sat, 18 Mar 2006 13:35:51 +0100 darekm [EMAIL PROTECTED] wrote: [...] Darek PS. What's about my previously patch (tComboBox) now I have much more investigation: 1. for tSpeedButton: caption is paint in improper place (row for caption 'zoom' and 'insert

Re: [lazarus] patch for tComboBox

2006-03-14 Thread darekm
Mattias Gaertner wrote: On Mon, 13 Mar 2006 21:24:16 +0100 darekm [EMAIL PROTECTED] wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek You added again the lines: If (Lines nil) and (NumLines1

Re: [lazarus] patch for tComboBox

2006-03-14 Thread darekM
Mattias Gaertner napisa(a): On Mon, 13 Mar 2006 22:18:56 +0100 darekM [EMAIL PROTECTED] wrote: Vincent Snijders napisa__(a): darekm wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable

[lazarus] patch fo tLabel

2006-03-14 Thread darekm
tLabel should care about WordWrap property attached patch repair it Darek Index: include/customlabel.inc === --- include/customlabel.inc (wersja 8935) +++ include/customlabel.inc (kopia robocza) @@ -365,7 +365,11 @@

[lazarus] patch for tComboBox

2006-03-13 Thread darekm
Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek Index: interfaces/gtk/gtklistsl.inc === --- interfaces/gtk/gtklistsl.inc(wersja 8935) +++

Re: [lazarus] patch for tComboBox

2006-03-13 Thread darekM
Vincent Snijders napisał(a): darekm wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek Index: interfaces/gtk/gtkwinapi.inc === --- interfaces

[lazarus] patch for TextOut in UTF8

2006-03-10 Thread darekM
Hi without this patch tLabel and tSpeedButton not work proper with caption in UTF8 and Unicode fonts Darek Index: interfaces/gtk/gtklclintfh.inc === --- interfaces/gtk/gtklclintfh.inc (wersja 8890) +++

Re: [lazarus] patch for TextOut in UTF8

2006-03-10 Thread darekm
repair patch Darek Mattias Gaertner wrote: 2. When I test my Delphi application, I noticed that function with any strings operators work longer, even if then not reach that line (Delphi make longer preamble to that functions) , enough to move that code to subfunction - in FPC is

[lazarus] setcolor setFont for tComboBox, tCheckBox

2006-03-07 Thread darekm
HI as in subject related to but 700: TScrollBox does not accept Color Darek Index: interfaces/gtk/gtkwsstdctrls.pp === --- interfaces/gtk/gtkwsstdctrls.pp (wersja 8887) +++ interfaces/gtk/gtkwsstdctrls.pp (kopia robocza)

[lazarus] System information

2006-03-05 Thread darekM
Hi How to obtain current codepage (UTF, 8859-?) under Linux Darek _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] setColor part 3

2006-03-04 Thread darekm
Mattias Gaertner wrote: On Fri, 03 Mar 2006 23:10:41 +0100 darekm [EMAIL PROTECTED] wrote: [...] A button under gtk1 is an area, not just the frame. Some themes define a simple darkened area when presses, some some define whole images (e.g. round buttons). Maybe gtk2 has

Re: [lazarus] bug in tComboBox

2006-03-04 Thread darekm
Mattias Gaertner wrote: Darek PS.Can I comment all EventTrace (or IFDEFs) in gtkcallback.inc, they slowdown running. Did you test that? How much slower? I've not test but I'm looking for not necessary lines of code all LCL should follow directive RELEASE and should remove all

Re: [lazarus] bug in tComboBox

2006-03-04 Thread darekM
Mattias Gaertner napisa(a): On Sat, 04 Mar 2006 12:39:34 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Darek PS.Can I comment all EventTrace (or IFDEFs) in gtkcallback.inc, they slowdown running

Re: [lazarus] setColor part 3

2006-03-04 Thread darekm
simple: when I set color:=clRed then not change color (like in others controls) The solution is simple: if colorclBtnFace then paint a custom button. The question is only, how to implement it. The easiest would be to extend TSpeedButton.Paint with a if (ColorclBtnFace) or (...

Re: [lazarus] setColor part 3

2006-03-04 Thread darekm
Danny Milosavljevic wrote: Hi, Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm: [...] If I want (as programmer) to one of buttons will be red, user should'n change it by change theme I merely react to this grossly out of context (so please forgive me), but I just can't

Re: [lazarus] bug in tComboBox

2006-03-04 Thread darekm
Mattias Gaertner wrote: On Sat, 04 Mar 2006 17:16:46 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Sat, 04 Mar 2006 12:39:34 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Darek PS.Can I comment all

[lazarus] feature in Lazarus

2006-03-04 Thread darekM
Can close editor file be added (best at begin) to Recent List Why: I use Lazarus with many open files, some of them close, some open when I close by mistake any of older files, then I can't revert it simple (when it was at Recent list) Darek

Re: [lazarus] setColor part 3

2006-03-04 Thread darekM
Well, a theme bug... guess the theme author must go hide really well now :) And usually then it isn't a TGroupBox any more but a TAlertableFrame that is derived from TGroupBox and has some extra style properties like overloaded-reactor-color ... :) I feel like I'm still missing your point :(

Re: [lazarus] setColor part 3

2006-03-03 Thread darekm
Hi with current CVS setColor for tSpeedButton don't work DrawFrameControl can draw only rectangle with or without shadow, no other possibilities rest investigation under now i prepare patch for tSpeedButton Why use Frame3D instead of

[lazarus] bug in tComboBox

2006-03-03 Thread darekm
Hi I can't set by mouse item in tComboBox when Style is csDropDownList below is patch (I think: all MouseUp can be removed) Darek PS.Can I comment all EventTrace (or IFDEFs) in gtkcallback.inc, they slowdown running. Index: include/customcombobox.inc

Re: [lazarus] GTK(2) and German umlauts

2006-03-02 Thread darekM
Christian U. napisa?(a): I think this problem is a problem that exists longer. What is the (big) problem that gtk cuts all strings that have one or more german umlauts in it ? gtk2 dont drat the strings from the position of the char and gtk dont draw the whole string. which codepage You use

Re: [lazarus] setColor part 3

2006-03-01 Thread darekm
Mattias Gaertner wrote: On Wed, 01 Mar 2006 08:41:57 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Tue, 28 Feb 2006 20:37:14 +0100 darekm [EMAIL PROTECTED] wrote: Micha Nelissen wrote: On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread darekm
A.J. Venter wrote: On Wednesday 01 March 2006 10:36, Panagiotis Sidiropoulos wrote: Are all these changes available just by svn update and recompiling Lazarus or anything more is needed? Panagiotis Yes, since Mattias applied the patches to the main tree. At this stage I am waiting

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread darekM
A.J. Venter napisa(a): Yes, since Mattias applied the patches to the main tree. At this stage I am waiting for more clarity on where Darek's GTK1 work is going before advancing mine so that the two can be kept in design sync. What I can do for You now.

Re: [lazarus] setColor part 3

2006-02-28 Thread darekm
Maybe there is a bug in the constants? GTK_STYLE_TEXT = $81 - this flag bitmask bites GTK_STATE_ACTIVE if GTK_STYLE_TEXT in mask then Do you mean something like GTK_STYLE_BASE = $40; // custom flag to change base styles GTK_STYLE_TEXT = $80; // custom flag to change text styles ? I

Re: [lazarus] setColor part 3

2006-02-28 Thread darekM
Mattias Gaertner napisa(a): On Tue, 28 Feb 2006 20:37:14 +0100 darekm [EMAIL PROTECTED] wrote: Micha Nelissen wrote: On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL PROTECTED] wrote: now i prepare patch for tSpeedButton

[lazarus] need feature in IDE

2006-01-28 Thread darekm
Hi It will be nice to have this feature 1. Shortcut to Source Edit Window f.e. Ctl Alt E (like for Search Result) 2. Main Ide panel should be BRING TO FRONT when any of other Lasarus window is showed. I use XFCE, and when main panel disappear, there is no way to show it, only close all window

Re: [lazarus] revision 8625

2006-01-28 Thread darekm
Patrick Chevalley wrote: Can you update and try compiling lazarus with -dDisableWidgetColor? This not change the problem. I add a few DebugLn in SetWidgetColor, just before your ifdef. By comparison of the trace with a working theme the segfault occur after the last passage to

Re: [lazarus] setColor patch

2006-01-27 Thread darekm
Mattias Gaertner wrote: On Thu, 26 Jan 2006 22:02:19 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: On Wed, 25 Jan 2006 10:01:03 +0100 darekm [EMAIL PROTECTED] wrote: I forget patch Marc Santhoff wrote: Am Dienstag, den 24.01.2006, 18:41 +0100 schrieb darekm

Re: [lazarus] setColor patch

2006-01-25 Thread darekm
I forget patch Marc Santhoff wrote: Am Dienstag, den 24.01.2006, 18:41 +0100 schrieb darekm: Darek PS. how simple test patch syntactic patch -C yourmodifictions.diff From the man page of patch(1): -C, --check see what would happen, but don't do it. I know

Re: [lazarus] setColor patch

2006-01-24 Thread darekm
Mattias Gaertner wrote: Patch for setcolor for tButton,tBitBtn, tPanel On Fri, 20 Jan 2006 23:06:54 +0100 darekm [EMAIL PROTECTED] wrote: [...] Repaired File to patch: interfaces/gtk/gtkwscontrols.pp patching file interfaces/gtk/gtkwscontrols.pp patch: malformed patch at line

Re: [lazarus] setColor patch

2006-01-20 Thread darekm
Mattias Gaertner wrote: On Tue, 17 Jan 2006 11:45:56 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: [...] Set color background and front don't work for tForms, tEdit and tLabel And TListBox. In fact, setting TListBox.Color changes all, but the TListBox color. It seems

Re: [lazarus] setColor patch - for tPanel

2006-01-20 Thread darekm
Mattias Gaertner wrote: On Tue, 17 Jan 2006 11:45:56 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: [...] Set color background and front don't work for tForms, tEdit and tLabel And TListBox. In fact, setting TListBox.Color changes all, but the TListBox color. It seems

Re: [lazarus] setColor patch

2006-01-20 Thread darekm
Mattias Gaertner wrote: On Fri, 20 Jan 2006 17:50:24 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Tue, 17 Jan 2006 11:45:56 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: [...] Set color background and front don't work for tForms, tEdit

Re: [lazarus] setColor patch

2006-01-18 Thread darekM
Mattias Gaertner napisa(a): On Tue, 17 Jan 2006 11:45:56 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: [...] Set color background and front don't work for tForms, tEdit and tLabel And TListBox. In fact,

[lazarus] patch to WidgetDebugReport

2006-01-17 Thread darekM
I've done some improvements of DebugReports Darek Index: lcl/interfaces/gtk/gtkproc.inc === --- lcl/interfaces/gtk/gtkproc.inc (wersja 8546) +++ lcl/interfaces/gtk/gtkproc.inc (kopia robocza) @@ -751,6 +751,7 @@ else

  1   2   >