[Lazarus] FrameRect implementation for WInCE
I am trying to implement FrameRect(DC: HDC; const ARect: TRect; hBr: HBRUSH) for WinCE via line drawing, and thus I have 2 questions: - Since LineTo draws using the pen, and FrameRect specifies the brush, how can the brush color be retrieved so that a new pen is created with the brush color? Anyway, I already have a working implementation using FillRect (uses the brush). - Just to confirm: Should the right vertical line have a Y ordinate of ARect.Right-1 instead of ARect.right? Stephano -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Promoting Lazarus: A Case Study Video
Il 14/02/2015 11:52, Anthony Walter ha scritto: Hello all, in our continuing effort to re-energize the Lazarus community, and reach out to new prospective users, I will be creating a series of Lazarus case study videos. This first one is posted online here: http://www.getlazarus.org/videos/reports/ The aim of this initiative is to draw interest back to Free Pascal and Lazarus, especially in light of all the hard work you guys have done in preparing for Free Pascal version 3 and Lazarus version 1.4. If anyone wants to add to the case study content, feel free to use the edit this page feature to make your additions. The editors at getlazarus.org http://getlazarus.org can quickly, and easily find and review your edits, so don't hesitate to contribute. Also, if you want to forward the above case study to a work colleague or a technical acquaintance, please do. That's the reason its there. Thanks everyone for your hard work, and keep an eye out for our next case study. The initiative is very good, but the page contents appear to be Windows-only. Play under Linux (CentOs 6) - Firefox has no effect. As a very basic feature of Lazarus is of being multi-platform, this appears a bit contradictory. Just my two cents, Giuliano -- Giuliano Colla Project planning question: when it's 90% done, are we halfway or not yet? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Promoting Lazarus: A Case Study Video
Hthe corrections got garbeled...sorry...Here they are in CAPS Report operators are pulled from data, as well AT to AS report criteria data types, they are all pulled from data. Finally, with regards to innovative features, this applications/APPLICATION allows reports to be placed into batch containers. Summary In the hands of even a single capable developer Lazarus HAS the potential to create business applications with a high degree of usability for end users,... On 02/14/2015 01:02 PM, JuuS wrote: Good link thanks, looks like a neat program! I also bemoan the fact that the super super Pascal Language and Lazarus is not used more...I am always pushing it when anyone asks about languages... BTW: Giuliano: I played it on Kubuntu in Firefox...maybe Javascript is blocked on that site on your machine? I read your page as well and noted a few errors...The corrected script is below, changes in : Report operators are pulled from data, as well at should be as report criteria data types, they are all pulled from data. Finally, with regards to innovative features, this applications should be application allows reports to be placed into batch containers. Summary In the hands of even a single capable developer Lazarus needs the word has here the potential to create business applications with a high degree of usability for end users, and its multi-platform capabilities offer more options for business to reduce their IT infrastructure costs. On 02/14/2015 11:52 AM, Anthony Walter wrote: Hello all, in our continuing effort to re-energize the Lazarus community, and reach out to new prospective users, I will be creating a series of Lazarus case study videos. This first one is posted online here: http://www.getlazarus.org/videos/reports/ The aim of this initiative is to draw interest back to Free Pascal and Lazarus, especially in light of all the hard work you guys have done in preparing for Free Pascal version 3 and Lazarus version 1.4. If anyone wants to add to the case study content, feel free to use the edit this page feature to make your additions. The editors at getlazarus.org http://getlazarus.org can quickly, and easily find and review your edits, so don't hesitate to contribute. Also, if you want to forward the above case study to a work colleague or a technical acquaintance, please do. That's the reason its there. Thanks everyone for your hard work, and keep an eye out for our next case study. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Promoting Lazarus: A Case Study Video
Hello all, in our continuing effort to re-energize the Lazarus community, and reach out to new prospective users, I will be creating a series of Lazarus case study videos. This first one is posted online here: http://www.getlazarus.org/videos/reports/ The aim of this initiative is to draw interest back to Free Pascal and Lazarus, especially in light of all the hard work you guys have done in preparing for Free Pascal version 3 and Lazarus version 1.4. If anyone wants to add to the case study content, feel free to use the edit this page feature to make your additions. The editors at getlazarus.org can quickly, and easily find and review your edits, so don't hesitate to contribute. Also, if you want to forward the above case study to a work colleague or a technical acquaintance, please do. That's the reason its there. Thanks everyone for your hard work, and keep an eye out for our next case study. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to edit color value in Object inspector
I also found this confusing a bit ago when I wanted to set colors. I resorted to loading a color picker, tuning the colors I wanted and storing those values later to be used in a case statement. The problem was in the Object Inspector one cannot put value, one must use the drop down color picker. In the color picker one can only put a color in the form of #AABBCC. But what comes back from the Picker is a value in the form $00CCBBAA. What one would want is to have the picker allow input that is the same as what as what the picker outputs, ja? I just worked around it, but since it seems to be a confusion for more than just myself, I throw in these two cents... ;-) On 02/13/2015 08:09 AM, zeljko wrote: On 02/12/2015 06:59 PM, FreeMan wrote: osx fpc lazarus svn QT x64 I wanna enter this value $CCD148 from Object inspector but I can not, How to enter hex value to colour property from object inspector? You can enter such value in color dialog of that combobox, you cannot enter it directly. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Is this bug?
osx fpc lazarus svn qt x64 In Install/Uninstall Packages form. *-)When open this form, Installed list items showing, but Available for installation list empty. just when mouse move list printing. There is a refresh problem I think. *-)export list button not ask overwrite question, if file exit. *-) I add lazmrumenu 1.0 save and rebuild IDE. This mean this packages installed and added in lazarus appication. exit lazarus, make bigide, start lazarus IDE, open Install/Uninstall Packages. lazmrumenu 1.0 still in installed list, but its not there, 'cos I'm not run lazbuild. Why or what I need, I have a problem in my 3party component(I think). after use lazbuild, mypackages list add, then when close IDE, everything close, then system crash report coming. So I need, real installed packages list, and maybe active profile's packages list -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to edit color value in Object inspector
On Sat, 14 Feb 2015 13:25:03 +0100 JuuS j...@mykolab.ch wrote: [...] The problem was in the Object Inspector one cannot put value, one must use the drop down color picker. In the color picker one can only put a color in the form of #AABBCC. But what comes back from the Picker is a value in the form $00CCBBAA. The color picker is the system color picker. It may use HTML notation, which uses RGB or RRGGBB. TColor uses BBGGRR. What one would want is to have the picker allow input that is the same as what as what the picker outputs, ja? You can override the TColorPropertyEditor. Either change the shown value to your system color picker, or implement your own color picker. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Promoting Lazarus: A Case Study Video
On Sat, 14 Feb 2015 12:44:31 +0100 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...] Play under Linux (CentOs 6) - Firefox has no effect. It plays under Firefox Ubuntu. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Promoting Lazarus: A Case Study Video
Good link thanks, looks like a neat program! I also bemoan the fact that the super super Pascal Language and Lazarus is not used more...I am always pushing it when anyone asks about languages... BTW: Giuliano: I played it on Kubuntu in Firefox...maybe Javascript is blocked on that site on your machine? I read your page as well and noted a few errors...The corrected script is below, changes in : Report operators are pulled from data, as well at should be as report criteria data types, they are all pulled from data. Finally, with regards to innovative features, this applications should be application allows reports to be placed into batch containers. Summary In the hands of even a single capable developer Lazarus needs the word has here the potential to create business applications with a high degree of usability for end users, and its multi-platform capabilities offer more options for business to reduce their IT infrastructure costs. On 02/14/2015 11:52 AM, Anthony Walter wrote: Hello all, in our continuing effort to re-energize the Lazarus community, and reach out to new prospective users, I will be creating a series of Lazarus case study videos. This first one is posted online here: http://www.getlazarus.org/videos/reports/ The aim of this initiative is to draw interest back to Free Pascal and Lazarus, especially in light of all the hard work you guys have done in preparing for Free Pascal version 3 and Lazarus version 1.4. If anyone wants to add to the case study content, feel free to use the edit this page feature to make your additions. The editors at getlazarus.org http://getlazarus.org can quickly, and easily find and review your edits, so don't hesitate to contribute. Also, if you want to forward the above case study to a work colleague or a technical acquaintance, please do. That's the reason its there. Thanks everyone for your hard work, and keep an eye out for our next case study. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Promoting Lazarus: A Case Study Video
It plays under Firefox osx too. On 14.02.2015 13:51, Mattias Gaertner wrote: [...] Play under Linux (CentOs 6) - Firefox has no effect. It plays under Firefox Ubuntu. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Examples of CairoCanvas usage
On 2015-02-13 19:21, Juha Manninen wrote: property PagerWidth: integer read GetPaperWidth; Ah, well spotted. I'll fix this right now. The API is very different than what for example PowerPdf has. As far as I understood the author wrote everything from scratch based directly on the PDF specification - he didn't use any existing projects or libraries as the base. I'm also still in the process of translating all the French words in the code to English. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to edit color value in Object inspector
Onaltılık renk no. mean Hexadecimal color number I wrote in there CCD148 then click Ok. It coverted that number ? after click 3dot button. Is number is same? and only one this place editable in color picker On 14.02.2015 14:33, Mattias Gaertner wrote: The color picker is the system color picker. It may use HTML notation, which uses RGB or RRGGBB. TColor uses BBGGRR. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] patch:add /$(LCLWidgetType) to rx packages FU
On Sat, 14 Feb 2015 17:10:59 +0200 FreeMan freema...@delphiturkiye.com wrote: not in CCR /lazarus/components/rx/rx.lpk -UnitOutputDirectory Value=lib/$(TargetCPU)-$(TargetOS)/ +UnitOutputDirectory Value=lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)/ Done. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
On Sat, Feb 14, 2015 at 4:44 PM, FreeMan freema...@delphiturkiye.com wrote: Why not? I'm using ram driver, some times remove drive and reinstall fpc lazarus. make or make bigide, I'm using 3party tools rx etc. I mean, after maked IDE and run, this form show rx packages is in installed list, but not yet installed. Its just in profile. isn't it? Somehow you misunderstood the idea. It is ok to run make bigide when reinstalling Lazarus but not after you have installed a package. When you build from Tool - Configure Build Lazarus or from the Packages - Install/Uninstall packages, the installation of your selected packages is ready. You destroyed it by running make bigide again. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
On Sat, Feb 14, 2015 at 1:48 PM, FreeMan freema...@delphiturkiye.com wrote: osx fpc lazarus svn qt x64 In Install/Uninstall Packages form. *-)When open this form, Installed list items showing, but Available for installation list empty. just when mouse move list printing. There is a refresh problem I think. It works in other environments. If you find how to refresh it better in OS X, please send a patch. *-)export list button not ask overwrite question, if file exit. Is the question needed? Exported data is not master data for anything and can be exported again any time. *-) ... exit lazarus, make bigide, ... Why you make bigide? The package was installed already. Bigide has a fixed set of packages. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
On 14.02.2015 16:21, Juha Manninen wrote: On Sat, Feb 14, 2015 at 1:48 PM, FreeMan freema...@delphiturkiye.com wrote: osx fpc lazarus svn qt x64 In Install/Uninstall Packages form. *-)When open this form, Installed list items showing, but Available for installation list empty. just when mouse move list printing. There is a refresh problem I think. It works in other environments. If you find how to refresh it better in OS X, please send a patch. If I find, exactly yes. *-)export list button not ask overwrite question, if file exit. Is the question needed? Exported data is not master data for anything and can be exported again any time. just for useto, *-) ... exit lazarus, make bigide, ... Why you make bigide? The package was installed already. Bigide has a fixed set of packages. Juha Why not? I'm using ram driver, some times remove drive and reinstall fpc lazarus. make or make bigide, I'm using 3party tools rx etc. I mean, after maked IDE and run, this form show rx packages is in installed list, but not yet installed. Its just in profile. isn't it? another scenario: maked lazarus and lazbuild worked with default profile and added some packages from ccr. rx example. exit IDE and run other test profile ./lazarus --pcp=~/.lazarus-fortest application file is same, rx included, but ~/.lazarus-fortest profile has not. I hope I translate what I mean. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to edit color value in Object inspector
Ha! I should have known that! Lazarus/pascal is infinitely customizable. Been out of the pascal environment for so long I'm forgetting the basics. Thanks Mattias, I will look into the override... BTW, super job. You are all my heroes. On 02/14/2015 01:33 PM, Mattias Gaertner wrote: On Sat, 14 Feb 2015 13:25:03 +0100 JuuS j...@mykolab.ch wrote: [...] The problem was in the Object Inspector one cannot put value, one must use the drop down color picker. In the color picker one can only put a color in the form of #AABBCC. But what comes back from the Picker is a value in the form $00CCBBAA. The color picker is the system color picker. It may use HTML notation, which uses RGB or RRGGBB. TColor uses BBGGRR. What one would want is to have the picker allow input that is the same as what as what the picker outputs, ja? You can override the TColorPropertyEditor. Either change the shown value to your system color picker, or implement your own color picker. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Promoting Lazarus: A Case Study Video
As a reminder, if you could please use the wiki to make corrections rather than posting additions or corrections here, my life would be much easier. And thank you for the feedback. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] patch:add /$(LCLWidgetType) to rx packages FU
not in CCR /lazarus/components/rx/rx.lpk -UnitOutputDirectory Value=lib/$(TargetCPU)-$(TargetOS)/ +UnitOutputDirectory Value=lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)/ Index: components/rx/rx.lpk === --- components/rx/rx.lpk(revision 47781) +++ components/rx/rx.lpk(working copy) @@ -6,7 +6,7 @@ CompilerOptions Version Value=8/ SearchPaths -UnitOutputDirectory Value=lib/$(TargetCPU)-$(TargetOS)/ +UnitOutputDirectory Value=lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)/ /SearchPaths Other CompilerPath Value=$(CompPath)/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
Thank you very much for your explains. On 14.02.2015 19:45, Juha Manninen wrote: Ok, you need the list of packages you installed yourself, in addition to bigide. There is no such list I am afraid. After make bigide your selected packages are marked differently in the Install/Uninstall packages dialog, having a green mark in the icon. I think you must just look at them and install one by one. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
On Sat, Feb 14, 2015 at 7:11 PM, FreeMan freema...@delphiturkiye.com wrote: No :) I understood right, but my translate is wrong :) this link explain bigide http://wiki.lazarus.freepascal.org/Getting_Lazarus bigide as all, except that the IDE is built with a lot of extra packages but what is extras? It is buried into many makefiles. The make system is quite complex, or actually there are 2 of them. The makefiles support targets like all and bigide. Rebuilding from inside Lazarus itself uses Pascal code for basically the same thing and has a separate configuration. In future lazarus.lpi will become a normal project and can be built directly. Mattias understands that better (I hope). Anyway it is easy to see what is included in bigide because the default installation package contains it. [...] Where or how can I get, lazarus IDE application has (or added) lpk list? Ok, you need the list of packages you installed yourself, in addition to bigide. There is no such list I am afraid. After make bigide your selected packages are marked differently in the Install/Uninstall packages dialog, having a green mark in the icon. I think you must just look at them and install one by one. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
No :) I understood right, but my translate is wrong :) this link explain bigide http://wiki.lazarus.freepascal.org/Getting_Lazarus bigide as all, except that the IDE is built with a lot of extra packages but what is extras? no where in web. of course after install / uninstall any packages or in console use lazbuild change bigide defined packages list. This is not much important for me. I perfer make bigide, its nearly making 2min so not important. My question is not abouth this. I reported in bugtracker #27468. rx librarry crased IDE after closed. this line in crash report on osx system FINALIZE$_$RXICONV + 19 (rxiconv.pas:439) I hope aleksey see this report. I needed to find which package has error, I looked for, I couldn't handle it. I tried to remove one by one, what I installed packages after maked IDE. I have that list, but have not got list, after make (default installed bigide or just make) so I couldn't compare packages list. Where or how can I get, lazarus IDE application has (or added) lpk list? I hope this been clear question. On 14.02.2015 17:50, Juha Manninen wrote: Somehow you misunderstood the idea. It is ok to run make bigide when reinstalling Lazarus but not after you have installed a package. When you build from Tool - Configure Build Lazarus or from the Packages - Install/Uninstall packages, the installation of your selected packages is ready. You destroyed it by running make bigide again. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] to zeljko about bug #27411
On 02/13/2015 04:45 PM, FreeMan wrote: Hello zeljan, bug id 27411, I'm not opened so I can not reopen in bugtracker. not changed more then that patch for me. example: alt + g combination not working still for me. and some other keys. That other keys not important but, alt+g is important for me. I try add alternative to ctrl + combination, via key grab. first image show find key comibanetion white area under blue button, not found any key result. second image, typed procedure list from keyboard, keys name is same but not equal ? in any editor, ğ this char(without ) showing alt + g pressed. in lazarus grap key always show uppercase, and show G. can NOT dedect alt key pressed. If can you test in osx system, please change key board layout from system options to Türkçe - QWERTY PC this is same UK keyboard layout just 6 keys more, but others same plase. I wish to sent screenshot but, I can not get while pressed alt key. But if you want, I can get via my phone, but picture is big size. I can't send to mail list. Problem is somewhere while attaching main menu under osx. Alt+G trigger only if main ide bar is active. Also another problem is with keys, but that should be fixable as I already mentioned before. z. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug?
On Sat, 14 Feb 2015 13:48:25 +0200 FreeMan freema...@delphiturkiye.com wrote: osx fpc lazarus svn qt x64 In Install/Uninstall Packages form. *-)When open this form, Installed list items showing, but Available for installation list empty. just when mouse move list printing. There is a refresh problem I think. The list is filled via OnIdle. Maybe there is a problem with OnIdle on OSX/qt. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus