Re: [Lazarus] Component palette reordering

2014-11-19 Thread Sandro Cumerlato
P.S I have also made an option to use CheckBoxes for Boolean values in Object Inspector. Please check how it works. This is not related to component palette though. Painting is not working properly under Windows. Look at the attachments. Sandro --

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 10:30 AM, Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Painting is not working properly under Windows. Look at the attachments. Pease try commenting out the code I added in r46885. For me it makes no difference but I don't see the redraw errors either. You can try

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 12:35 PM, Bart bartjun...@gmail.com wrote: I find this rather counter-intuitive. If I have a checkbox that is not checked and the caption of it says False then I would assume that False is not checked. It is a valid point, I did not think of it. I would suggest to

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Mattias Gaertner
On Wed, 19 Nov 2014 11:35:45 +0100 Bart bartjun...@gmail.com wrote: [...] [X] True - meaning is obvious [ ] True - suggests True is not selected, so value probably is False [ ] False - Meaning is ambiguous, to say the least. +1 I still don't see why we cannot use a read-only combobox for

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Mattias Gaertner
On Wed, 19 Nov 2014 12:58:28 +0200 Juha Manninen juha.mannine...@gmail.com wrote: [...] Ugly and counter-intuitive. A CheckBox is a perfect match for a Boolean. Something is either On or Off, True or False. That is what CheckBox was invented for. Don't forget multi selection. Mattias --

[Lazarus] OI Checkboxes

2014-11-19 Thread Bart
Juha wrote (in another discussion): P.S I have also made an option to use CheckBoxes for Boolean values in Object Inspector. Please check how it works. I find this rather counter-intuitive. If I have a checkbox that is not checked and the caption of it says False then I would assume that

Re: [Lazarus] Starting Android Emulator for AVD NOT FOUND

2014-11-19 Thread Samuel Herzog
Hello Eric, sorry your mail disappered in my Spam-Folder, so discovered it today. I also have often trouble to start the Android Emulator. ( tried on different OS's ). You can play with this settings: error while starting emulator: Emulator] FB::flushWindowSurfaceColorBuffer: window handle 0x4

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Sandro Cumerlato
Attached patch solves CheckBox panting issue. P.S.: CheckBox is not yet aligned correctly if corresponding row is selected. Sandro On 19 November 2014 11:35, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Nov 19, 2014 at 10:30 AM, Sandro Cumerlato sandro.cumerl...@gmail.com wrote:

[Lazarus] Typo in objectinspector.pp

2014-11-19 Thread Sandro Cumerlato
Please apply attached patch. Sandro Index: components/ideintf/objectinspector.pp === --- components/ideintf/objectinspector.pp (revisione 46885) +++ components/ideintf/objectinspector.pp (copia locale) @@ -2700,7 +2700,7

Re: [Lazarus] Typo in objectinspector.pp

2014-11-19 Thread Mattias Gaertner
On Wed, 19 Nov 2014 14:22:04 +0100 Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Please apply attached patch. Thanks. Applied. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 3:11 PM, Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Attached patch solves CheckBox panting issue. Applied, thanks. You are clever, I did not notice that one. P.S.: CheckBox is not yet aligned correctly if corresponding row is selected. Aligned to what? In fact

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread FreeMan
For cosmatic, Unselected line's, need 1 or pixel move to up for draw square lines. And can draw border lines like other lines. I get this screenshot in QT and linux x64(kubuntu) If I were you, change subject, before someone scold. On 19-11-2014 17:04, Juha Manninen wrote: Aligned to what?

Re: [Lazarus] Component palette reordering

2014-11-19 Thread FreeMan
This is not too much important for me, My project open in a just second, problem can be on my system, Just I let you know, can be some property triggered, so I wrote. Sorry for didn't say before, this job is good. Long time ago I was think this. And I thinked, usually programmer use less then

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 1:04 PM, Mattias Gaertner Don't forget multi selection. Damn, I did forget it. Maybe tbCheckBoxCheckedDisabled themed box can be used for a mixed state. I will study the relevant code but not very soon ... What shoud we do with the text part? No text at all or some other

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 5:52 PM, FreeMan freema...@delphiturkiye.com wrote: Sorry for didn't say before, this job is good. Thanks. Long time ago I was think this. And I thinked, usually programmer use less then 10 component, (Tlabel, Tedit etc.) First Component palette tab can favorite

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Lukasz Sokol
On 19/11/14 10:58, Juha Manninen wrote: On Wed, Nov 19, 2014 at 12:35 PM, Bart bartjun...@gmail.com wrote: I find this rather counter-intuitive. If I have a checkbox that is not checked and the caption of it says False then I would assume that False is not checked. It is a valid point, I

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wednesday, November 19, 2014, FreeMan freema...@delphiturkiye.com wrote: For cosmatic, Unselected line's, need 1 or pixel move to up for draw square lines. And can draw border lines like other lines. I get this screenshot in QT and linux x64(kubuntu) Ok, I see. I also coded this feature

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wednesday, November 19, 2014, Lukasz Sokol el.es...@gmail.com wrote: How about [ ] Boolean:(False) [x] Boolean:(True) kind of text ? I actually like this one. A sole box would look odd, with only empty space on its right side. There must be some text. And on Copy/Paste, only the

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Sandro Cumerlato
I actually like this one. A sole box would look odd, with only empty space on its right side. There must be some text. I agree, text can also be clicked to change the value easily. Sandro -- ___ Lazarus mailing list

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Sandro Cumerlato
For me the alignment looked ok there and also on Windows, although on Windows the LCL theme service draws too small boxes. The alignment must be calculated dynamically. Theme service already returns the size, the location can be derived from it. Maybe someone creates a patch, I have other

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Sandro Cumerlato
ComponentPalette is refreshed everytime when IDE Options window is closed clicking the OK button. It should refresh only if something has been modified. Sandro On 19 November 2014 17:37, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Nov 19, 2014 at 5:52 PM, FreeMan

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Péter Gábor
I took a look around with google: - JForm Designer and eclipse/WindowBuilder - CheckBox for each boolean property (as lazarus now, not confusing me) Property1 [ ] False Property2 [X] True -NetBeans IDE - CheckBox without caption for each boolean property Property1 [

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 8:11 PM, Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Please review attached patch (commented-out code seems not needed). Applied, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wednesday, November 19, 2014, Péter Gábor p...@freemail.hu wrote: I vote for CheckBoxes without caption. For easier access a mouse click in the field of it may change its state. This is difficult in practice. We could create code to change the state when you click anywhere on the field,

Re: [Lazarus] TWin32WSCustomX class

2014-11-19 Thread Dmitry Boyarintsev
On Wed, Nov 19, 2014 at 1:04 AM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: If you want to adjust paragraph attributes for the current selection only then you can subclass RichMemo (or CustomRichMemo) and add delphi RichEdit compatible properties, that would use existing RichMemo

Re: [Lazarus] TWin32WSCustomX class

2014-11-19 Thread Antônio
Congratulations. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Sandro Cumerlato
It would be nice to have a framed checkbox, look at the attachment rendered image, the entire area should respond to mouse click. Sandro On 19 November 2014 21:02, Juha Manninen juha.mannine...@gmail.com wrote: On Wednesday, November 19, 2014, Péter Gábor p...@freemail.hu wrote: I vote for

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread FreeMan
Sorry Sandro, Still not work on my system QT linux and I add one more problem :S On 19-11-2014 23:19, Sandro Cumerlato wrote: It would be nice to have a framed checkbox, look at the attachment rendered image, the entire area should respond to mouse click. Sandro --

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Frederic Da Vitoria
2014-11-19 22:19 GMT+01:00 Sandro Cumerlato sandro.cumerl...@gmail.com: It would be nice to have a framed checkbox, look at the attachment rendered image, the entire area should respond to mouse click. I am not so sure about that. I always felt that 3d controls meant that user interaction was