[Lazarus] StringGrid.Options: goSmoothScroll vs goThumbTracking
Hi, Could anybody explain to me what the difference is? I noticed that if I enabled both options I get the desired effect. Smooth scrolling and seeing all content scroll by as I move the scrollbar. But what do they do on there own? goSmoothScroll - I first thought this is what I wanted as described above, but on it's own it don't do that. goThumbTracking - isn't this supposed to be the same as goSmoothScroll, compared to jumping columns or rows at a time. There is no LCL reference help describing the available settings in TStringGrid.Options property. http://lazarus-ccr.sourceforge.net/docs/lcl/grids/tgridoptions.html Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] File open dialog doesn't work on an user account in Mac OS X
i don't have ppc mac available, intel-only. I cannot reproduce the error here, but have made a guess fix. Please update from svn, and test if it helps. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] StringGrid.Options: goSmoothScroll vs goThumbTracking
On Thu, Feb 19, 2009 at 10:18 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: But what do they do on there own? goSmoothScroll - I first thought this is what I wanted as described above, but on it's own it don't do that. goThumbTracking - isn't this supposed to be the same as goSmoothScroll, compared to jumping columns or rows at a time. OK, I think I figured it out. goSmoothScrolling - scrolls pixels at a time, not columns/rows. goThumbTracking - gives you a like preview of the contents as you move the scrollbar. Now isn't it a bit pointless having goSmoothScrolling enabled, but goThumbTracking disabled by default? The content might scroll per pixel, but you don't see any content updating until _after_ you release the scrollbar thumb button. I would think the more logical default would be to have both there options enabled by default. I'm using 0.9.26 and they are not both enabled by default. PS: If my description of these options are correct, I'll update the Grid docs and send a patch. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] StringGrid.Options: goSmoothScroll vs goThumbTracking
On Thu, 19 Feb 2009 10:31:01 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Feb 19, 2009 at 10:18 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: But what do they do on there own? goSmoothScroll - I first thought this is what I wanted as described above, but on it's own it don't do that. goThumbTracking - isn't this supposed to be the same as goSmoothScroll, compared to jumping columns or rows at a time. OK, I think I figured it out. goSmoothScrolling - scrolls pixels at a time, not columns/rows. goThumbTracking - gives you a like preview of the contents as you move the scrollbar. Now isn't it a bit pointless having goSmoothScrolling enabled, but goThumbTracking disabled by default? The content might scroll per pixel, but you don't see any content updating until _after_ you release the scrollbar thumb button. I would think the more logical default would be to have both there options enabled by default. I'm using 0.9.26 and they are not both enabled by default. PS: If my description of these options are correct, I'll update the Grid docs and send a patch. Has Delphi goThumbTracking and what is it the default value there? Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] StringGrid.Options: goSmoothScroll vs goThumbTracking
On Thu, Feb 19, 2009 at 12:52 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: goSmoothScrolling - scrolls pixels at a time, not columns/rows. goThumbTracking - gives you a like preview of the contents as you move the scrollbar. Has Delphi goThumbTracking and what is it the default value there? Yes, and it's not a default option in .Options property. Saying that, Delphi doesn't have goSmoothScrolling option. I only have Delphi 7. Either way, with the available options in Lazarus (and some not being available in Delphi), I still think it's more logical to enable both options as I suggested. With the current default values, goSmoothScrolling makes no sense and has no affect. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] StringGrid.Options: goSmoothScroll vs goThumbTracking
Graeme Geldenhuys schrieb: goSmoothScrolling - scrolls pixels at a time, not columns/rows. goThumbTracking - gives you a like preview of the contents as you move the scrollbar. Right. I would think the more logical default would be to have both there options enabled by default. I'm using 0.9.26 and they are not both enabled by default. AFAIR that's the Delphi default, suitable for slow systems. Thumb tracking was available for the original Windows controls. Smooth scrolling came later, when the typical systems had more processing power. Smooth scrolling IMO should be disregarded when the scroll distance becomes larger than one page, or when it's known that the user dragged the slider. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Delphi5 - Lazarus issues
Aleksa Todorovic schrieb: c) static array inside the function as a const (with Writable consts turned on) I'd *not* suggest to make *all* constants writeable, for only saving a few keystrokes in source code. Doesn't FPC support kind of static variables in subroutines? (Delphi doesn't, but it would be a nice extension of the language...) DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] SQLdb tab
On Wed, 2009-02-18 at 13:22 +, David W Noon wrote: On Wed, 2009-02-18 at 10:43 +0200, Graeme Geldenhuys wrote: On Tue, Feb 17, 2009 at 11:33 PM, David W Noon david.w.n...@ntlworld.com wrote: experimentation I managed to get the bigidecomponents target built. This caused the SQLDBlaz package in the Installed Packages dialogue to What I do is as follows: * Packages | Open package file (*.lpk) * Then browse to the components/sqldb/ directory * select sqldblaz.lpk * In the new dialog, click Compile * Then click Install * Lazarus should now restart and you should see the SqlDB tab. That worked a treat. Many thanks, Graeme. Just as an FYI: The above method installed the updated Lazarus under my home directory. To make the SQLdb tab universally accessible, one can build (as root) the main Lazarus program using: cd /usr/share/lazarus make clean bigide LCL_PLATFORM=gtk2 {or qt, or whatever} This will also make the RTTI and IPro tools available. It would be nice if this were documented in the README.txt file that is included in the Lazarus bundle. -- Regards, Dave [RLU #314465] === david.w.n...@ntlworld.com (David W Noon) === ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] File open dialog doesn't work on an user account in Mac OS X
Dmitry, Thanks for rapid fix. But I am not accustomed to building Lazarus as a n application bundle (I used to get pre-built binaries from the snapshots). P lease allow me a few days of trial. Haruo - Original Message - Date: Thu, 19 Feb 2009 11:30:55 +0300 From: dmitry boyarintsev skalogryz.li...@gmail.com To: General mailing list lazarus@lazarus.freepascal.org Subject: Re: [Lazarus] File open dialog doesn't work on an user account in Mac OS X i don't have ppc mac available, intel-only. I cannot reproduce the error here, but have made a guess fix. Please update from svn, and test if it helps. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus