Re: [Lazarus] The future of desktop

2013-12-04 Thread Avishai
Everything I say here is my opinion only and related to MSWindows only because I do not have another OS to work with. I think Lazarus could grow quite a bit and maybe find some deep pockets, if it would address the problems of RightToLeft language support. There are a few billion people that

Re: [Lazarus] The future of desktop

2013-12-04 Thread Avishai
: Am 04.12.2013 15:49, schrieb Avishai: Everything I say here is my opinion only and related to MSWindows only because I do not have another OS to work with. I think Lazarus could grow quite a bit and maybe find some deep pockets, if it would address the problems of RightToLeft language

Re: [Lazarus] The future of desktop

2013-12-04 Thread Avishai
programming tool of the Middle East. I thing that's significant. On Wed, Dec 4, 2013 at 10:20 PM, Florian Klämpfl flor...@freepascal.orgwrote: Am 04.12.2013 21:08, schrieb Avishai: There's very little interest because it simply can't do the job. If you're looking to buy a new car, you don't stop

Re: [Lazarus] The future of desktop

2013-12-04 Thread Avishai
to RightToLeft on the MSWindows platform. For the most part it already works, but only if you disable Themes. That's a price most programmer feel they can't pay. On Wed, Dec 4, 2013 at 10:31 PM, Avishai avishai.g...@gmail.com wrote: The guys that started Lazarus had a base to start from

Re: [Lazarus] The future of desktop

2013-12-04 Thread Avishai
Really? I thought it started fro Megido. On Wed, Dec 4, 2013 at 10:44 PM, Avishai avishai.g...@gmail.com wrote: @vfclists. I agree with what you said. I have the knowledge about the requirements of RightToLeft applications, but I don't have the programming skills to make it happen. My

Re: [Lazarus] The future of desktop

2013-12-04 Thread Avishai
04.12.2013 21:48, schrieb Avishai: Really? I thought it started fro Megido. And? Then the same would apply to Megido. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

[Lazarus] TSpinEdit and TFloatSpinEdit

2013-11-18 Thread Avishai
Why do we have both TSpinEdit and TFloatSpinEdit? It seems like TFloatSpinEdit is enough. TFloatSpinEdit has property DecimalPlaces and when set to 0, it displays an Integer (although it's a Float). It's easy enough to get the Integer Value, but it could have Property FloatValue and Property

Re: [Lazarus] TSpinEdit and TFloatSpinEdit

2013-11-18 Thread Avishai
Does Delphi even have a TFloatSpinEdit? I suppose it does but I haven't found anything by googling. On Mon, Nov 18, 2013 at 7:43 PM, Howard Page-Clark h...@talktalk.net wrote: On 18/11/2013 16:00, Avishai wrote: Why do we have both TSpinEdit and TFloatSpinEdit? It seems like TFloatSpinEdit

Re: [Lazarus] Fit TFrom's width so that it's caption isn't cut off?

2013-11-17 Thread Avishai
wrote: On 11/17/13, Avishai avishai.g...@gmail.com wrote: function GetTextHeight(ACtrl: TControl): Integer; var C: TBitMap; begin Result:= -1; C := TBitmap.Create; try C.Canvas.Font.Assign(ACtrl.Font); Result:= C.Canvas.TextHeight('TextHeight'); finally C.Free; end

Re: [Lazarus] Can't enter negative values in to TFloatSpinEdit

2013-11-12 Thread Avishai
mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-11 Thread Avishai
wrote: 2013.11.11 06:06, Avishai rašė: Could you use a TPanel in place of the TBevel? I tried that and it gives the same visual effect without the size problems. But I don't know what you are doing with the TBevel. Hello, I use TBevel as separator (Shape=bsLeftLine) between components

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-11 Thread Avishai
: On Mon, 11 Nov 2013 12:51:14 +0200 Valdas Jankūnas zmu...@gmail.com wrote: 2013.11.11 06:06, Avishai rašė: [...] I found why TBevel doesn't want shrink less than 50px: TBevel has function GetControlClassDefaultSize where Result.CY := 50; is hardcoded. That's the default size

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-11 Thread Avishai
Thank you Mattias, every step is a help. :) -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Centered-elements-in-autosize-enabled-panel-Possible-tp4034210p4034264.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. --

Re: [Lazarus] UTF8 string compare with correct locale sorting

2013-11-10 Thread Avishai
There is a long thread on the forum regarding sorting. http://forum.lazarus.freepascal.org/index.php/topic,17454.0.html http://forum.lazarus.freepascal.org/index.php/topic,17454.0.html -- View this message in context:

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
a matter of dragging the control to the location you want. BorderSpacing and Constraints gives me all the control I need (so far - I'm still playing with it). On Sun, Nov 10, 2013 at 11:03 PM, Avishai avishai.g...@gmail.com wrote: You can also use Constraints to set height/width of children

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
Hmmm. I tried setting TBevel .borderSpacing.Around:= 4 and it suddenly corrected itself. I'm not too sure I trust that approach but you can play with it and see. On Mon, Nov 11, 2013 at 12:01 AM, Valdas Jankūnas zmu...@gmail.com wrote: 2013.11.10 23:03, Avishai rašė: You can also use

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
keep looking. On Mon, Nov 11, 2013 at 12:09 AM, Avishai avishai.g...@gmail.com wrote: Hmmm. I tried setting TBevel .borderSpacing.Around:= 4 and it suddenly corrected itself. I'm not too sure I trust that approach but you can play with it and see. On Mon, Nov 11, 2013 at 12:01 AM, Valdas

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
Could you use a TPanel in place of the TBevel? I tried that and it gives the same visual effect without the size problems. But I don't know what you are doing with the TBevel. On Mon, Nov 11, 2013 at 12:20 AM, Avishai avishai.g...@gmail.com wrote: Well? I forgot that I had set

Re: [Lazarus] Looking for help: Trying to add better RightToLeft support to Lazarus.

2013-11-09 Thread Avishai
If anyone wants to experiment with RightToLeft, this should get you started. But you must disable Themes for it to work. Otherwise all TWinControl.Canvas gets corrupted and can not be used. The TWinControl.Canvas issue is the biggest obstacle to making RightToLeft Forms in Lazarus. Delphi does

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-09 Thread Avishai
Have you tried using BorderSpacing? I think you can get what you want using Left and Right BorderScaping. I'll give it a try. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Centered-elements-in-autosize-enabled-panel-Possible-tp4034210p4034211.html

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-09 Thread Avishai
OK. I tried putting 2 Labels Align:= alLeft. For both Labels I set BorderSpacing Left and Right := 10 and Layout := tlCenter. Then I set Panel.AutoSize := True. It looks like it does what you want. -- View this message in context:

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-09 Thread Avishai
Glad I could help :) On Sat, Nov 9, 2013 at 11:13 PM, Valdas Jankūnas zmu...@gmail.com wrote: 2013.11.09 22:52, Avishai rašė: OK. I tried putting 2 Labels Align:= alLeft. For both Labels I set BorderSpacing Left and Right := 10 and Layout := tlCenter. Then I set Panel.AutoSize := True

Re: [Lazarus] Input query with input history

2013-10-19 Thread Avishai
? Ideal would be if such a history list can be filtered and sorted too. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com

Re: [Lazarus] Input query with input history

2013-10-19 Thread Avishai
TComboBox AutoComplete:= True Sorted:= True Style:= csSimple Add new entries to TComboBox.Items you would have to take care of filtering On Sat, Oct 19, 2013 at 3:01 PM, Avishai avishai.g...@gmail.com wrote: I'm sure this isn't what you are looking for, but maybe you could adapt

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Avishai
://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Avishai
-- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Avishai
/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to use data from stringlist in another form.

2013-03-26 Thread Avishai
.**freepascal.orgLazarus@lists.lazarus.freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list

Re: [Lazarus] Labels and Font size

2013-03-15 Thread Avishai
@lists.lazarus.freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Editor component

2013-03-08 Thread Avishai
) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing

Re: [Lazarus] Editor component

2013-03-08 Thread Avishai
On which platform? In MSWindows TMemo.Undo works. On Fri, Mar 8, 2013 at 5:06 PM, Timothy Groves the.tail.kin...@gmail.com wrote: Undo is unsupported in Tmemo. On 2013-03-08 10:04 AM, Avishai avishai.g...@gmail.com wrote: Try Memo1.Undo On Fri, Mar 8, 2013 at 5:02 PM, Martin laza

Re: [Lazarus] Shrink-fitting a form around its content

2013-01-21 Thread Avishai
://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-21 Thread Avishai
-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Looking for help: Trying to add better RightToLeft support to Lazarus.

2012-12-21 Thread Avishai
If you haven't already seen this, it's a good place to start. http://msdn.microsoft.com/en-us/goglobal/bb688119.aspx On Thu, Dec 20, 2012 at 4:45 PM, Avishai avishai.g...@gmail.com wrote: I can make TForm RightToLeft as Design-Time, but when I do, any control that is placed on it can

Re: [Lazarus] Looking for help: Trying to add better RightToLeft support to Lazarus.

2012-12-20 Thread Avishai
at 2:20 PM, Junior lazarus.li...@gmail.com wrote: Windows only? and for Linux? :( Em 20-12-2012 06:30, Avishai escreveu: Looking for help: Trying to add better RightToLeft support to Lazarus. I only work with Windows so any help with other OS's would be very good. For Windows ONLY

Re: [Lazarus] Looking for help: Trying to add better RightToLeft support to Lazarus.

2012-12-20 Thread Avishai
drop it on a container, it's parent is always TForm. On Thu, Dec 20, 2012 at 4:33 PM, Avishai avishai.g...@gmail.com wrote: Hi Mattias, good to hear from you. The problems vary from one control to the next. Example: TMenuItem and TSpeedButton Images disappear when pressed. Also TBitBtn

Re: [Lazarus] New user interface for future major releases of Lazarus

2012-12-04 Thread Avishai
. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list

[Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-01 Thread Avishai
); { need input from Lazarus community for other Sort Methods } end; AStringList.Assign(SortList); FreeAndNil(SortList); end; -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-01 Thread Avishai
good sort support. On Sat, Dec 1, 2012 at 6:23 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 1 Dec 2012 16:43:34 +0200 Avishai avishai.g...@gmail.com wrote: Lazarus support for Sorting is completely inadequate. You can not sort a list of strings without knowing the language

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-01 Thread Avishai
include for Japanese??? On Sat, Dec 1, 2012 at 7:21 PM, Benito van der Zander ben...@benibela.de wrote: you could just write a single comparison function, for the languages you have... -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-01 Thread Avishai
) and $fpcdir/packages/fcl-stl/ Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר

Re: [Lazarus] RightToLeft Forms (for Hebrew, Arabic...)

2012-10-26 Thread Avishai
So good to hear from you. I have been worried for your safety. Some day Peace for both of us. Be safe. On Fri, Oct 26, 2012 at 2:55 PM, Zaher Dirkey parm...@gmail.com wrote: Hi Avishai, Most BidiMode users that i knew used forums instead of messages list. About me, we have a big problem

[Lazarus] RightToLeft Forms (for Hebrew, Arabic...)

2012-10-24 Thread Avishai
to some very strange results, but for the most part, it works very well. If there are any others that have to work with RightToLeft Forms, I would love to work with you to find solutions. -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus

Re: [Lazarus] Please define delphi compatibility

2012-10-11 Thread Avishai
, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus

Re: [Lazarus] lazarus archive

2012-09-04 Thread Avishai
Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר

Re: [Lazarus] language setup / http://bugs.freepascal.org/view.php?id=22574

2012-08-14 Thread Avishai
://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g...@gmail.com אבישי גוֹר -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] language setup / http://bugs.freepascal.org/view.php?id=22574

2012-08-14 Thread Avishai
, but I think that is a very bad choice. ListBox? ComboBox? I don't have the answers. Just adding my two cents worth. On Wed, Aug 15, 2012 at 12:12 AM, Martin laza...@mfriebe.de wrote: On 14/08/2012 21:29, Avishai wrote: I haven't seen what you are working on so I'm not sure if what I say

Re: [Lazarus] OT Re: Please remove Arabic language from the release version

2012-08-11 Thread Avishai
I couldn't agree with you more about English :) But it seems like the whole world wants to learn English (or American which is a completely different language). Very strange, but such is life. I have one foot in the West and one foot in the Middle East. Shalom, Avishai avishai.g...@gmail.com

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-03 Thread Avishai
in english as default plz! ¹ :) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai

Re: [Lazarus] Translations / Localizations for controls at design time

2012-07-31 Thread Avishai
. -- __**_ Lazarus mailing list Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Shalom, Avishai avishai.g