Re: [Lazarus] Quick Video: A Web Application

2017-04-20 Thread Santiago A. via Lazarus
El 19/04/2017 a las 17:09, Anthony Walter via Lazarus escribió: > Thank you all for the feedback and discussion. From me, the > implementer and designer, I can say the most difficult part of > creating this project, and in most projects, is not the actual > programming. It's the creation of the

Re: [Lazarus] How to make debugging ignore exceptions?

2017-06-24 Thread Santiago A. via Lazarus
El 24/06/2017 a las 0:14, Bo Berglund via Lazarus escribió: The problem is that the debugger always stops on the > exceptions making the debugging impossible (they happen with 10 ms > intervals). When I run into a program that raises a lot of exceptions in a loop, I think that I'm doing something

Re: [Lazarus] Who is using Object Pascal in production?

2017-12-05 Thread Santiago A. via Lazarus
El 29/10/2017 a las 11:23, Samuel Herzog via Lazarus escribió: > > > A) a way to give a whole project from one developer to another > developer. (no fiddeling around with missing > packages/components/paths/environment-path). >     e.g. a Menu-Option "Export-Project" which creates a bundle with >

Re: [Lazarus] Runtime error: INCLOCKED (BUG)

2018-05-11 Thread Santiago A. via Lazarus
El 29/04/2018 a las 19:38, Vojtěch Čihák via Lazarus escribió: > > Hi, > >   > > I changed line 7: > >   > > TElement = record > >       strr: String; > >   end; > >   TList = array[0..1] of TElement;  //HERE > >   Plist = ^TList;    > >   > > and demo works. Simply, static and dynamic arrays are

[Lazarus] SIGSEGV executing SqlDb

2018-01-10 Thread Santiago A. via Lazarus
Hello: --  TestDb.Open;  sqlScript1.Execute; // ==> SIGSEGV -- It uses SQLlite3 connector. No matter what are the contents of the script I get "External: SIGSEGV" and jumps to debug assembler with a lot of ??. I can't enter step by step into function, or check

Re: [Lazarus] SQLdb_Tutorial3 error

2018-03-13 Thread Santiago A. via Lazarus
El 13/03/2018 a las 11:30, Rik van Kekem via Lazarus escribió: > Op 13-03-2018 10:43 schreef Santiago A. via Lazarus: >> My point is if I'm missing some package, or the dll should be in other >> path, or a hint how to dig and debug deeper, beacuse I can't debug into >> open.

Re: [Lazarus] SQLdb_Tutorial3 error

2018-03-10 Thread Santiago A. via Lazarus
El 09/03/2018 a las 10:41, Santiago A. via Lazarus escribió: > El 08/03/2018 a las 20:42, leledumbo via Lazarus escribió: >>> Any hint? >> Code please. Zipped project directory (use Publish Project feature) is OK if >> single file example is not possible. > I wil

Re: [Lazarus] Cool IDE add-on idea

2018-04-24 Thread Santiago A. via Lazarus
El 23/04/2018 a las 17:53, Santiago A. via Lazarus escribió: > Time ago I read that interviews to developers after tests show > consistently that shortcuts are faster, and clock consistently shows > that mouse is faster. http://www.asktog.com/TOI/toi06KeyboardVMouse1.html We’ve done a

Re: [Lazarus] Cool IDE add-on idea

2018-04-23 Thread Santiago A. via Lazarus
El 14/04/2018 a las 17:47, Graeme Geldenhuys via Lazarus escribió: > That's an excellent way to learn shortcuts - which ultimately should > make you work faster (at least that is normally true for developers). off-topic

Re: [Lazarus] Test this please

2018-03-26 Thread Santiago A. via Lazarus
El 26/03/2018 a las 6:22, Anthony Walter via Lazarus escribió: > Hey guys. I wrote this web tool a while ago which emulates a desktop > application in a few ways and wanted some feedback. > > http://storage.codebot.org > > login: tester > password: funkytown > > The tool is a private cloud file

Re: [Lazarus] Exception handling in Linux?

2018-10-26 Thread Santiago A. via Lazarus
El 25/10/18 a las 18:46, Bo Berglund via Lazarus escribió: I am working on a port of a Windows Win32 command line program (Delphi 2007) to Linux Ubuntu 18.04 64bit. I am almost done now and my tests show that the basic functionality works as intended. But I am not sure about the exception

[Lazarus] TDBNavigator enabled buttons

2018-11-26 Thread Santiago A. via lazarus
Hello: I'm working with lazarus (Win32, 2.0 Rc2 + ZeosLib) When a not-readonly dataset is in browse state, all the buttons in navigator are enabled except post and cancel. When dataset enters in  edit or insert mode,  post and cancel are enabled and only edit button is disabled. I expected

[Lazarus] Trying FPDebug

2018-11-22 Thread Santiago A. via lazarus
Hello: I would like to fiddle a little with FPdebug, but I'm a little confused. I have lazarus 1.8.4 on window 7 32 bits I have installed the next packages FpDebug 0.0 lazdebuggerfp But that is not enough, it is still using GDB. isn't it? I have tried to install lazdebuggerfpdserver, but

Re: [Lazarus] Trying FPDebug

2018-11-22 Thread Santiago A. via lazarus
El 22/11/18 a las 11:08, Joost van der Sluis via lazarus escribió: Op 22-11-18 om 11:00 schreef Santiago A. via lazarus: I would like to fiddle a little with FPdebug, but I'm a little confused. I have lazarus 1.8.4 on window 7 32 bits I have installed the next packages FpDebug 0.0

Re: [Lazarus] Yes another reason to run Linux

2019-06-05 Thread Santiago A. via lazarus
El 05/06/19 a las 09:04, Dejan Boras via lazarus escribió: Not to defend MS, but those "ads" can be disabled, and he needs to change his default lock screen background. But, the reason I use (mostly) Linux over Windows is that FPC and Lazarus projects build and compile a lot faster on Linux :D

Re: [Lazarus] Get the number of pages in a pdf file

2019-06-16 Thread Santiago A. via lazarus
El 15/06/2019 a las 13:56, Graeme Geldenhuys via lazarus escribió: On 14/06/2019 6:19 pm, Rogério Martins via lazarus wrote: Is there a function for read info about a pdf file ? I need to know the number of pages in a given pdf file. I don't know of a Object Pascal library you can you, but

[Lazarus] Sorting BufferDataset

2020-04-13 Thread Santiago A. via lazarus
Hello: I'm trying to sort a TBufferDataset by several criteria, and I'm a little confused. There is no sort method, so I decided to use indexes, but I have a lot of doubts. When you close the TBufferDataset, all the data is cleaned. TbufferDataset has a MaxIndexesCount that limits the

[Lazarus] Generate InsertSQL, UpdateSQL, DeleteSQL

2020-04-08 Thread Santiago A. via lazarus
Hello: I have a TSQLQuery with a SQL string like this "select * from manyFieldsTable" and I want to write a custom updateSQL, but I don't want to start from scratch, from an empty script.  I want to start from the automatically generated updateSQL statement that TSQLQuery generates when you

[Lazarus] Lazreport variables

2020-05-03 Thread Santiago A. via lazarus
Hi: I want to write a report where even lines are written with no background and odd lines with a light gray background. The idea is an memo (MemoBackground) in the background of the masterData Band that is gray and I set visible or invisible, according with the line. I have created a report

Re: [Lazarus] Lazreport variables

2020-05-03 Thread Santiago A. via lazarus
El 03/05/2020 a las 18:04, Bart via lazarus escribió: On Sun, May 3, 2020 at 6:03 PM Santiago A. via lazarus wrote: I want to write a report where even lines are written with no background and odd lines with a light gray background. A little bit out of the box thinking :-) You could add

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Santiago A. via lazarus
El 13/4/20 a las 12:43, Michael Van Canneyt via lazarus escribió: So, if I want to process the dataset in different orders with TbufferDataset, before opening the dataset I must set MaxIndexesCount to all the orders I'm going to use. Yes. Am I right? Or I have missed something? You are

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Santiago A. via lazarus
El 13/4/20 a las 13:24, Michael Van Canneyt via lazarus escribió: The other one is for when you set the indexfields property directly, I think. That solves the my sorting problem!! No need to create indexes or dropping indexes or changing fields of an index. Just leave IndexName blank and

Re: [Lazarus] Lazreport variables

2020-05-07 Thread Santiago A. via lazarus
El 07/05/2020 a las 05:37, Jesus Reyes A. via lazarus escribió: En Sun, 03 May 2020 11:03:12 -0500, Santiago A. via lazarus escribió: Hi: I want to write a report where even lines are written with no background and odd lines with a light gray background. The idea is an memo

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Santiago A. via lazarus
El 23/03/2020 a las 10:55, Ondrej Pokorny via lazarus escribió: On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really

[Lazarus] FormClose

2020-09-08 Thread Santiago A. via lazarus
Hi: I recently have read a message where an object was created in the FormCreate and was freed in the formClose.  What if the form is not freed? I think that the the natural place to free objects created in formCreate is FormDestroy. In fact, I usually follow this pairs Created in

Re: [Lazarus] TTimer simple issue

2020-10-27 Thread Santiago A. via lazarus
El 18/10/2020 a las 19:18, Lars via lazarus escribió: When building a simple TTimer demo I cannot seem to get it working Any idea what the problem could be if you paste this code into your form with a memo? var   TimeSpent: integer; procedure TForm2.Button1Click(Sender: TObject); var   i,

Re: [Lazarus] FPDoc now with Markdown support

2021-01-07 Thread Santiago A. via lazarus
El 05/01/2021 a las 10:47, Michael Van Canneyt via lazarus escribió: Because people are naturally lazy and prefer easy & simple over strict & rich. But we could chose a language that is easy & simple for when you want to do simple things (90% time) and rich when you need to do complex

[Lazarus] Freepascal for web

2021-09-25 Thread Santiago A. via lazarus
Not sure if this question should go for fpc-freepascal list or fpc-others list. I'm starting a new project, a simple accounting system, with the data in a server in internet. It is an experimental pet project, just to try new technologies (new for me). Although it is just an experimental pet