Re: [Lazarus] Options dialog filter

2012-03-07 Thread William Oliveira Ferreira
Juha, great work with this filter! it will help a lot! 2012/3/6 Sven Barth pascaldra...@googlemail.com Am 06.03.2012 15:02, schrieb Martin: On 06/03/2012 12:25, Sven Barth wrote: Am 06.03.2012 11:45, schrieb Paul Ishenin: 06.03.12 18:30, Juha Manninen пишет: I don't know if the color

Re: [Lazarus] Options dialog filter

2012-03-07 Thread Juha Manninen
2012/3/7 William Oliveira Ferreira bdexterholl...@gmail.com Juha, great work with this filter! it will help a lot! Thanks :) I have sprinkled the filters around Lazarus GUI. Now it is relatively easy when there are reusable components for it. Juha P.S. Nice photo --

Re: [Lazarus] Options dialog filter

2012-03-06 Thread Juha Manninen
2012/3/6 Paul Ishenin webpi...@mail.ru 05.03.12 21:04, Juha Manninen пишет: It may be related to themes as Paul Ishenin mentioned, but I have seen colors used in other GUIs. Please give an example of other GUI. I will check that and maybe correct LCL if possible. Good question. I

Re: [Lazarus] Options dialog filter

2012-03-06 Thread Paul Ishenin
06.03.12 18:30, Juha Manninen пишет: I don't know if the color support is a standard feature in these controls but surely it feels illogical that setting a color doesn't do anything. Color property on windows depends too much on theme engine. Some colors may work on XP but does not work on

Re: [Lazarus] Options dialog filter

2012-03-06 Thread Sven Barth
Am 06.03.2012 11:45, schrieb Paul Ishenin: 06.03.12 18:30, Juha Manninen пишет: I don't know if the color support is a standard feature in these controls but surely it feels illogical that setting a color doesn't do anything. Color property on windows depends too much on theme engine. Some

Re: [Lazarus] Options dialog filter

2012-03-06 Thread Martin
On 06/03/2012 12:25, Sven Barth wrote: Am 06.03.2012 11:45, schrieb Paul Ishenin: 06.03.12 18:30, Juha Manninen пишет: I don't know if the color support is a standard feature in these controls but surely it feels illogical that setting a color doesn't do anything. Color property on windows

Re: [Lazarus] Options dialog filter

2012-03-06 Thread Sven Barth
Am 06.03.2012 15:02, schrieb Martin: On 06/03/2012 12:25, Sven Barth wrote: Am 06.03.2012 11:45, schrieb Paul Ishenin: 06.03.12 18:30, Juha Manninen пишет: I don't know if the color support is a standard feature in these controls but surely it feels illogical that setting a color doesn't do

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Juha Manninen
2012/3/5 Hans-Peter Diettrich drdiettri...@aol.com A ComboBox should react on WM_SETFONT. Also CB_SETITEMHEIGHT should be usable to set its Height to an arbitrary value, differently for the edit box and the list. ComboBoxes are currently not even included in the filtering of Options dialogs.

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Felipe Monteiro de Carvalho
It may be related to themes as Paul Ishenin mentioned, but I have seen colors used in other GUIs. Probably those GUIs are custom-drawn, but you are using native widgets in your GUI. If you want unrestricted colouring options you can use TCDCheckBox and friends from our custom drawn controls

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Sven Barth
Am 05.03.2012 16:11, schrieb Felipe Monteiro de Carvalho: It may be related to themes as Paul Ishenin mentioned, but I have seen colors used in other GUIs. Probably those GUIs are custom-drawn, but you are using native widgets in your GUI. If you want unrestricted colouring options you can

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Juha Manninen
2012/3/5 Sven Barth pascaldra...@googlemail.com The controls Juha is talking about are those of the IDE's Options dialog. So I don't know whether custom drawn controls are an option there... Exactly. Felipe, did you look at the filtering in the Options dialog? The code just iterates all

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Felipe Monteiro de Carvalho
2012/3/5 Juha Manninen juha.mannine...@gmail.com: Exactly. Felipe, did you look at the filtering in the Options dialog? Aha, so it affects the entire dialog. Well, at least bold is supported. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 05.03.2012 2:11, Juha Manninen пишет: Neither Color nor Font.Color are respected on Windows. It should be possible, I have seen colored GUIs in other Windows programs. Does anyone have a plan to fix it? This depends on windows. When your application supports themes they

Re: [Lazarus] Options dialog filter

2012-03-05 Thread Paul Ishenin
05.03.12 21:04, Juha Manninen пишет: It may be related to themes as Paul Ishenin mentioned, but I have seen colors used in other GUIs. Please give an example of other GUI. I will check that and maybe correct LCL if possible. Best regards, Paul Ishenin --

Re: [Lazarus] Options dialog filter

2012-03-04 Thread Juha Manninen
I tested this filter on Windows and yes, only labels are highlighted. Checkboxes, Groupboxes, RadioGroups etc. are not. It makes a very big difference compared to Linux + GTK2 or QT. Is this only a missing feature in LCL-Win bindings or is there a more fundamental problem? Juha --

Re: [Lazarus] Options dialog filter

2012-03-04 Thread zeljko
On Sunday 04 of March 2012 09:52:33 Juha Manninen wrote: I tested this filter on Windows and yes, only labels are highlighted. Checkboxes, Groupboxes, RadioGroups etc. are not. It makes a very big difference compared to Linux + GTK2 or QT. Is this only a missing feature in LCL-Win bindings or

Re: [Lazarus] Options dialog filter

2012-03-04 Thread Martin
On 03/03/2012 23:44, Juha Manninen wrote: 2012/3/4 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de The feature is already great. And I do by no means want to make it look like I do not like it. I like it a lot. I just expect users may not search or the terms we use for

Re: [Lazarus] Options dialog filter

2012-03-04 Thread Martin
On 04/03/2012 09:31, zeljko wrote: On Sunday 04 of March 2012 09:52:33 Juha Manninen wrote: I tested this filter on Windows and yes, only labels are highlighted. Checkboxes, Groupboxes, RadioGroups etc. are not. It makes a very big difference compared to Linux + GTK2 or QT. Is this only

Re: [Lazarus] Options dialog filter

2012-03-04 Thread Juha Manninen
2012/3/4 Martin laza...@mfriebe.de You removed he check what color a control was before highlight. Now links loose their color. Now the original state is memorized and restored. I ended up changing the color highlight, which is distinctive and easy to notice, to font style = Bold + Italic,

Re: [Lazarus] Options dialog filter

2012-03-04 Thread Hans-Peter Diettrich
Juha Manninen schrieb: Neither Color nor Font.Color are respected on Windows. It should be possible, I have seen colored GUIs in other Windows programs. A ComboBox should react on WM_SETFONT. Also CB_SETITEMHEIGHT should be usable to set its Height to an arbitrary value, differently for the

Re: [Lazarus] Options dialog filter

2012-03-04 Thread Paul Ishenin
05.03.2012 2:11, Juha Manninen пишет: Neither Color nor Font.Color are respected on Windows. It should be possible, I have seen colored GUIs in other Windows programs. Does anyone have a plan to fix it? This depends on windows. When your application supports themes they must be respected. You

[Lazarus] Options dialog filter

2012-03-03 Thread Juha Manninen
Hi I added a FilterEdit control to the Options dialog which is used for IDE Options and for Project Options. It searches from all captions form all options pages, highlights the matching texts and hides pages without matches. Please check out. Juha --

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Martin
On 03/03/2012 16:04, Juha Manninen wrote: Hi I added a FilterEdit control to the Options dialog which is used for IDE Options and for Project Options. It searches from all captions form all options pages, highlights the matching texts and hides pages without matches. Please check out. The

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Martin
On 03/03/2012 16:04, Juha Manninen wrote: Hi I added a FilterEdit control to the Options dialog which is used for IDE Options and for Project Options. It searches from all captions form all options pages, highlights the matching texts and hides pages without matches. Please check out. Long

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Martin
On 03/03/2012 16:04, Juha Manninen wrote: Hi I added a FilterEdit control to the Options dialog which is used for IDE Options and for Project Options. It searches from all captions form all options pages, highlights the matching texts and hides pages without matches. Please check out.

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Martin
On 03/03/2012 22:32, Juha Manninen wrote: 2012/3/3 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de 1) It keeps the current frame visible, even if it does not match. That means a frame, that is not in the Tree is visible I improved it. There is still a bug in TreeView. A Node's

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Juha Manninen
2012/3/4 Martin laza...@mfriebe.de Why do we need SynEdit? I thought it is used in some options frames. I am not sure. Hints are not searched That would be confusing wouldn't it? Why? Hints can be long and there would be no immediate feedback about what triggered the filter's match.

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Martin
On 03/03/2012 23:02, Juha Manninen wrote: 2012/3/4 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de Why do we need SynEdit? I thought it is used in some options frames. I am not sure. Hints are not searched That would be confusing wouldn't it? Why? Hints can be

Re: [Lazarus] Options dialog filter

2012-03-03 Thread Juha Manninen
2012/3/4 Martin laza...@mfriebe.de The feature is already great. And I do by no means want to make it look like I do not like it. I like it a lot. I just expect users may not search or the terms we use for description... We anyway have very few hints currently... MAybe wait for feedback