Re: [Lazarus] HTML Help for LCL

2013-02-11 Thread theo
I see it works now in Rev. 40244 Thank you Mattias! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] HTML Help for LCL

2013-02-10 Thread theo
Hi HTML Help for LCL still does not work (It works for RTL and FCL). There is an old bug report about this problem: http://bugs.freepascal.org/view.php?id=19817 Are there any news about this? Helpful hints how to make it work? Thank you. Theo

Re: [Lazarus] Tagging 0.9.30

2011-02-22 Thread theo
In NASA's style, the answer is GO. Roger. We agree wholeheartedly. And while you're starting on that, I'll just read these notes on P22. Call P22 possible program alarm 526, range greater than 400 nautical miles, and then use the P22 as described on PGNS-20. Take option 1 in Noun 06, and use

Re: [Lazarus] Does Lazarus support a complete Unicode Component Library?

2011-02-21 Thread theo
Florian Klaempfl schrieb: ObjFPC used AnsiString for a String from the beginning ... You mean ShortString, right? http://www.freepascal.org/docs-html/prog/progse75.html#x274-289000D.4 -- ___ Lazarus mailing list

Re: [Lazarus] Does Lazarus support a complete Unicode Component Library?

2011-02-18 Thread theo
Michael Schnell hat geschrieben: On 02/18/2011 11:40 AM, Mattias Gaertner wrote: / // Otherwise this thread will go endless without a solution. / //This is true with any Unicode discussion, ...even more so if you are involved in that discussion s.c.n.r :-) --

Re: [Lazarus] GTK3 is out

2011-02-16 Thread theo
or install fedora rawhide on some virtual machine :) OK, done: http://www.theo.ch/lazarus/gtk3k.png What's next? ;-) (Just joking, not enough time atm.) Cheers Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] GTK3 is out

2011-02-16 Thread theo
or install fedora rawhide on some virtual machine :) I've tried but I'm getting nowhere. Can't even compile the simplest gtk3 app using gcc on this system. I have all of these symptoms: https://bugzilla.redhat.com/show_bug.cgi?id=651328 Let's wait. Theo

Re: [Lazarus] Old OpenSUSE 10.2 and Laz 29544

2011-02-15 Thread theo
Maybe wait till the new version 10.4 before updating. You probably mean 11.4. Yes, I think I'll install this version when it's out. Thanks Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] GTK3 is out

2011-02-15 Thread theo
I was trying to build this version from sources today, but gave up at the requirement of Xinput2. This would probably need a complete X11 and whatnot upgrade. Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Old OpenSUSE 10.2 and Laz 29544

2011-02-14 Thread theo
-2.0 I know I should probably upgrade this Linux Installation, otoh, if a simple solution exists... Does anybody know what's wrong here? Thank you Theo Lazarus 0.9.31 r29544 FPC 2.4.2 i386-linux-gtk 2 -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Old OpenSUSE 10.2 and Laz 29544

2011-02-14 Thread theo
0.9.31 versions to *0.9.31 r29544, and now the linker wants libgdk_pixbuf-2.0. As I said, this is when I try to build even the simplest project, the IDE itself builds and runs without complaining about this lib, so it is not strictly necessary it seems. Thank you Theo

Re: [Lazarus] Old OpenSUSE 10.2 and Laz 29544

2011-02-14 Thread theo
I was wrong. The libs are there, but they are in /opt/gnome/lib on this system. For a reason, the latest version doesn't find them like the versions before. If I add -Fl/opt/gnome/lib, everything is fine. Thank you Theo -- ___ Lazarus mailing list

Re: [Lazarus] Old OpenSUSE 10.2 and Laz 29544

2011-02-14 Thread theo
Ah, I thought this was obsolete. I added it to the LCL. Thank you, problem solved. Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] CharMapDialog and more...

2010-10-29 Thread theo
:1390 #14 0x00402e3f in main () at lazarus.pp:105 (gdb) Just reporting, I don't know what it means. Thank you Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Is it possible to create a loop

2010-10-05 Thread theo
No, but if you're using Lazarus and want to save typing, you can write: You can save even more typing write: fors then press Ctrl+J then Shift+Ctrl+C You can edit the templates in Environment - Code Templates... :-) -- ___ Lazarus mailing list

[Lazarus] GTK2 version questions

2010-07-24 Thread theo
(tree_view: PGtkTreeView; out start_path, endpath: PGtkTreePath): gboolean; cdecl; external gtklib; function gtk_icon_view_get_visible_range(tree_view: PGtkTreeView; out start_path, endpath: PGtkTreePath): gboolean; cdecl; external gtklib; {$ENDIF} Correct? Thank you Theo

[Lazarus] anchordockingdsgn on GTK2

2010-07-24 Thread theo
. Thank you. Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] anchordockingdsgn on GTK2

2010-07-24 Thread theo
The bring to front comes from the window manager, so this can not be changed. Maybe the code I've posted here could help with the WM problem: http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg10541.html But I understand if you don't want XLib code in the LCL. Thank you Theo

Re: [Lazarus] TListView.TopItem and TListView.GetItemAt()

2010-07-22 Thread theo
Is there *any* way to get/set the scroll position of the list? For GTK2 TListView.TopItem watch this bug report: http://bugs.freepascal.org/view.php?id=17010 Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TLazIntfImage GetDataLineStart

2010-07-18 Thread theo
Both LoadFromRawImage and LoadFromIntfImage seem to work here without any conversion by me. I'm now on a 16bit display for testing, and it has no problem showing the BPP32_B8G8R8A8_BIO_TTB image using either mehtod. Complicated matter without documentation. ;-) Thank you both Marc an Mattias

Re: [Lazarus] TLazIntfImage GetDataLineStart

2010-07-17 Thread theo
The TLazIntfImage.Colors property converts automatically. Thanks, I am aware of this. / Is it safe to assume that the pointer from IntfImg.GetDataLineStart is // always pointing to a PRGBTripleArray ? / No. So the wiki example is misleading? Is there a built in method in TLazIntfImage to

Re: [Lazarus] TLazIntfImage GetDataLineStart

2010-07-17 Thread theo
Ah, now I see. Thanks! I tried like below, it seems to work. TBitmap.LoadFromIntfImage seems to care about the back-conversion, right? procedure TForm1.Button1Click(Sender:TObject); var li1,li2:TLazIntfImage; Description: TRawImageDescription; Row1: PRGBQuadArray; i:integer; begin

Re: [Lazarus] FPCBot Log down?

2010-07-11 Thread theo
Restarted Vincent Thank you Vincent. Afaics it's down again. Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
this been discussed before? Was it rejected for a reason? Am I right, that the prerequisites for this feature are already there? Thank you Best regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
method, this code: AVLNode:=fCodeSortedForStartPos.FindLeftMostKey(@KeyPos, TListSortCompare(@CompareStartPosWithViewNodeData)); returns always nil for AVLNode. Thank you for any comment. Best regards Theo -- ___ Lazarus

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
SelectSourceEditorNode is doing just this (probably not expanding). Somebody please tell me if this is a wrong assumption. Thank you. Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
@Mattias: If this helps: I looks like the seemingly unused method SelectSourceEditorNode was introduced by you in rev. 19201 Thanks Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Code Explorer synchronized with caret position

2010-07-06 Thread theo
I implemented a simple follow cursor. YES! You ARE a hero! ;-) Works great. One could think about auto-expanding the corresponding var sections. But great! Thank you very much Best regards Theo -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus-other list

2010-07-02 Thread theo
Florian Klämpfl florian at freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus wrote: The less people can spam on mailing lists, the more they can code. Since experience showed that code contribuitions is usually reciprocally proportional to the generated mailing list

Re: [Lazarus] Parser

2010-07-01 Thread theo
Your fpGUI as well as Michael's (Schnell) MSEide+MSEgui and other Cui honorem, honorem ;-) His name is Martin Schreiber (MSEide+MSEgui) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Gtk2 question

2010-06-30 Thread theo
/zeljko wrote: / Yep, if he want to get complete X11 tree he can do that via XLib and (now guessing from my mind) use XQueryTree() and friends. Yes. I had already some code but hacked a class today. The code and an example is here: http://www.theo.ch/lazarus/winlist.zip The example lists

Re: [Lazarus] Gtk2 question

2010-06-29 Thread theo
You can probably do this using XLib interface directly (units x, xlib) and polling. I don't know if you can get an event for this. http://tronche.com/gui/x/xlib/input/XGetInputFocus.html Warning: XLib programming is not easy. ;-) -- ___ Lazarus

Re: [Lazarus] next release date?

2010-06-25 Thread theo
I presume that would be summer in the northern hemisphere, correct? :) 56° 0′ 0″ N, 92° 56′ 0″ E Yes! ;-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Store empty string property in *.lfm

2010-06-22 Thread theo
Directory: string read FDirectory write SetDirectory stored True nodefault; but it doesn't work. Empty String is never stored it seems. Am I missing sth.? Thanks Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Store empty string property in *.lfm

2010-06-22 Thread theo
: UTF8String); begin if AValue='' then fDirectory:='none' else fDirectory := AValue; if (fDirectory 'none') and (fDirectory '') then if DirectoryExistsUTF8(AValue) then begin Thank you Best regards Theo -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Store empty string property in *.lfm

2010-06-22 Thread theo
Thanks for your suggestions. TWriter does not support that directly. But you can do something like this: Yes, this is probably cleaner than my workaround with none. But it needs one extra boolean field, and the none solution should be safe too. (Afaik there is no system where none without

[Lazarus] creating Handle during loading

2010-06-19 Thread theo
csDesigning=False It happens when I run an application which is using the IDE-installed component, not when creating the component at runtime. These are only hints and it's working fine, but I wonder how to get rid of them. Any ideas what is tipically causing this? Thank you Best regards Theo

Re: [Lazarus] creating Handle during loading

2010-06-19 Thread theo
It means that while the TThumbControl is loading properties it already tries to execute them. This creates unnecessary overhead. Improve ThumbControl to only access the Handle when needed. Thank you Matthias, I had to move some code to CreateWnd, now it's quiet. :-) Thanks Best regards Theo

[Lazarus] Question about SVN version stability

2010-05-30 Thread theo
is not exactly easy. My question: Should I wait or try to see what's going wrong? What do you think? Thank you Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Question about SVN version stability

2010-05-30 Thread theo
Best Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Question about SVN version stability

2010-05-30 Thread theo
. ;-) But still worth a look at the proof of concept imho. Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] virus note about 0.9.28.2 package?

2010-05-27 Thread theo
This sounds similar: http://lazarus.freepascal.org/index.php/topic,9450.0.html -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TImage Canvas not growing with Image? GTK2

2010-05-19 Thread theo
Hello Is it correct, that the paintable area of an Image.Canvas is not growing with the Image? Example: Put a TImage on an empty Form. Set Align to alClient. Then put for ex. this code in Form.OnChangeBounds procedure TForm1.FormChangeBounds(Sender:TObject); begin With Image1 do begin

Re: [Lazarus] TImage Canvas not growing with Image? GTK2

2010-05-19 Thread theo
Thank you both. I thought it might be correct, that's why I didn't make a bug report. I saw people are using/recommending TImage.Canvas for drawing because drawing is non-volatile, unlike TPaintBox. They are probably not aware, that it doesn't resize the graphic. Best Regards Theo

Re: [Lazarus] Hiding Comments

2010-02-16 Thread theo
color ist almost white (on white bg.), so that they do not catch my eye. This helps a little. Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Hiding Comments

2010-02-15 Thread theo
I know this is probably hard to implement but I sometimes would really like to have it. ;-) I have some heavily commented code, be it for the following reasons. - Comments explaining what the following code is doing, sometimes line by line. - Comments which keep some thoughts of previous

Re: [Lazarus] Hiding Comments

2010-02-15 Thread theo
Paul Nicholls? This Paul Nicholls? http://www.efg2.com/Lab/Library/UseNet/1999/0806.txt ;-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Hiding Comments

2010-02-15 Thread theo
it is a lovely sunny 24 degrees here in Tasmania, Australia, very nice :) Humm, it's -10 (Celsius) here in central Switzerland. Swiss Intl. Air Lines offers three flights to Hobart tomorrow. Two via Hongkong-Sydney one via Bangkok-Sydney. Which one to take? ;-) --

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-07 Thread theo
hmmm...maybe it's time to revamp it with qtlcl :) Feel free! ;-) You know better if it's possible and how much effort it would take. Cheers Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread theo
Hi Zeljko, Here disabled toolbuttons in the IDE have a border (look like buttons) while enabled ones are flat. Need a screenshot? Cheers Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Reconstructing Lazarus Website 4: the dev tool

2010-01-31 Thread theo
Hmm, the fact that this thread already has a lot of messages but the content thread (which it is all about imho) has not recieved one answer makes me a bit sceptical about this project... ;-) -- ___ Lazarus mailing list

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-01-31 Thread theo
in reasonable time. This is much more important than changing website technology imho. Only thing I do not agree: I think we should not compare Lazarus with Delphi and other tools. It's a little cheap / bad taste. Theo -- ___ Lazarus mailing list

Re: [Lazarus] Process Detection

2009-11-22 Thread theo
See: http://wiki.lazarus.freepascal.org/UniqueInstance -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] LCLGTK2 no visual updates

2009-11-18 Thread theo
this work before? Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] cross platform [Re: Lazarus Goal]

2009-11-15 Thread theo
Unfortunately this brings up the idea of aesthetic, Consider the Preferences dialog in Mac Leopard's Mail client: http://web.fastermac.net/~MacPgmr/Lazarus/Screenshots/mail_prefs.jpg http://web.fastermac.net/%7EMacPgmr/Lazarus/Screenshots/mail_prefs.jpg I don't think this dialog has a lot

Re: [Lazarus] Case error with cirilyc

2009-09-17 Thread theo
You might try utf8scanner http://wiki.lazarus.freepascal.org/Theodp This should do what you need: procedure TForm1.Button1Click(Sender: TObject); var s :TUTF8Scanner; begin s := TUTF8Scanner.Create(Memo1.text); s.FindChars :='абвгдabvgd'; //Memo1.text:=s.GenerateCaseStatement(); //Writes the

Re: [Lazarus] Case error with cirilyc

2009-09-17 Thread theo
You should not replace multiple characters with this method like s.Replace('ввв'); It works for me, if I write s.Replace('в'); It outputs: kввgd then Make sure your file encoding is UTF-8 (standard) If you really need to replace with ввв then write the output in a second string like you did

Re: [Lazarus] Groupboxes in the IDE

2009-08-26 Thread theo
Well, it's doing that already by using the Label 2xBevel isn't it?? Yes, I counted these as //groupbox-alikes too in my prev. message. I don't mind if you use custom components for the IDE if there is a good reason to do so. But you should be aware of the fact that they do not follow themes

[Lazarus] Groupboxes in the IDE

2009-08-25 Thread theo
with Font.Style:=[]; all over the place. Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread theo
I think it should be like this in Delphi: Since size and height change the same value with a slightly different meaning (PPI) whichever value was set, the other one is rounded and gets a negative value. If you set size you should get a negative height and vice versa. --