Most voted "lazarus" questions
Lazarus is an IDE developed for the Free Pascal compiler. It aims to be compatible with Delphi and support multiple architectures and operating systems. Free Pascal is an Object Pascal compiler that runs on Linux, Windows, OS/2, Mac OS, Mac OS X, ARM, BSD, Beos, DOS and more. It is designed to compile code with the syntax of Delphi or the Pascal dialects of Macintosh and for different platforms from the same source code.
Learn more…37 questions
Sort by count of
-
5
votes3
answers2378
viewsHow to list files and subdirectories in Delphi?
I created a project in Pascal-Object and at a given time it should list all the files and subdirectories located in the Desktop tree, I found some examples on the WEB, but none was useful enough, as…
-
5
votes1
answer145
viewsDevelopment windows CE Cortex-A9
I have a Processor Collector: Ti Cortex-A9 OMAP4430, I have developed a clamp using Lazarus 1.6.2, I am trying to compile, I am getting the following message: Error: Illegal Parameter: -Cpcortexm3…
-
4
votes2
answers1731
viewsHow to handle dependencies (DLL’s) in Delphi/Lazarus?
How do I find out which ones DLL’s I must distribute along with my application for it to work on any machine? I know Installshield - which does business in an automated way - but I would like to…
-
4
votes1
answer752
viewsAssociate a file with an application made on Lazarus on Linux
I developed an application on Lazarus on the linux platform for printing reports, now I need to click on the file with any extension, ex arquivo.gsa , open my application Lazarus on linux. In…
-
4
votes1
answer329
viewsHow to install the Tidhttp component in Lazarus?
I noticed that the Lazarus does not come by default with the component TIdHTTP, unlike Delphi, but I imagine it’s possible to urge the component somehow. How to install?…
-
3
votes1
answer597
viewsLazarus IDE: Importing images into the project
Lately I migrated from Delphi XE6 to Lazarus IDE, and as I am not used to the new platform I would like to know how I can import images, videos and other features in the project and use them…
-
2
votes1
answer938
viewsGrab Listbox’s Multiselect content and play in a Memo on the same line
I need to play the content with one or more selections from TListbox in a TMemo. I activated the Multiselect for True, I’m using: ListBox.Items[ListBox.ItemIndex] Only with a selection it normal…
-
2
votes1
answer297
viewsLazarus - Error running program with fpCEF
I’m having trouble following this simple tutorial building a Webbrowser using fpCEF. I downloaded the latest version of fpCEF straight from Github, for version 3.2526 of CEF, and its binaries I took…
-
2
votes3
answers596
viewsHow to put white/transparent background on png image with black background
I’m using this code in Azarus but at the time of saving it shows a black part like the image, I wanted it to be white/transparent. I tried some manners and it didn’t work. procedure…
-
1
votes2
answers690
viewsAvoiding two processes of the same application in Pascal
What is the most viable way to identify the processes of my application in memory and close them if there is more than one execution. I use the Lazarus IDE platform (looks like Delphi), which…
-
1
votes1
answer122
viewsProgram on Lazarus does not run with . Shared OS
I had a problem with OS shared on a Linux project with Lazarus, I found the solution on:…
-
1
votes1
answer895
viewsLazarus accents in JSON
I’m having a problem with accentuation in Lazarus, when I get a JSON coming from a URL it returns characters like " u00ed" instead of "í", someone knows what I can do? Follows the code procedure…
-
1
votes1
answer688
viewsHow to read text files online?
I have a project done in Delphi and at a certain time it should perform the reading of a text file that is hosted on a website, however, I want this reading to be done online through a TMemo without…
-
1
votes1
answer737
viewsHow to check the INEXISTENCE of a directory on an FTP server in Delphi?
Use the Delphi and the Lazarus to create my applications, what should I do to check the non-existence of a directory contained in a FTP server? For example, when will you check the non-existence of…
-
1
votes0
answers192
viewsCreate SQL Tax Table
I am developing a system for budgets and, to finalize my project, I need to create a tax table. To help, follow an example of what I want to do: in the raw material table, each material has a…
-
1
votes1
answer732
viewsProblem defining onClick in Runtime with Pascal (Delphi/Lazarus)
I need to use the procedure ClicaItem(Sender: TObject); in a OnClick created at runtime by the procedure CriaItem(nome:String);. However, in all my attempts, I could not attribute item.OnClick à…
-
1
votes0
answers48
viewsRun Debian program compiled on Ubuntu with Lazarus
When I compile any source developed on Lazarus on Ubuntu, it normally runs on Lazarus, but on Debian with the command ./Programa, gives the following error: "Segmentation failure". The program can…
-
1
votes2
answers181
viewsPackage usage difference in Delphi/Lazarus and Java
I would like to know the difference of use of packages in projects Java for use of packages in projects Delphi/Lazarus? In the Java so I know it’s about separating the classes into folders that the…
-
1
votes0
answers343
viewsCGI is out of use, but what if I want to make a secure web system on an intranet?
I know there are many ways to create a secure web system with technologies like PHP. NET and etc, however these interpreted languages expose the code to curious when the system should be installed…
-
1
votes1
answer100
viewsError set Parameters value in Query
I got a problem with that SQL in the Lazarus with Zeos and Firebird every time I perform the procedure of error. I’ve Already Added Parameters in the Component TZQuery. Error message: [Notificação…
-
0
votes1
answer106
viewsHow to resolve problems uploading Tidftp to Object-Pascal?
I found a way to upload to my FTP server, but I try to notice that files over 1 KB arrive damaged, so I ask your help to solve my problem, the mode used in question was the image below, how to solve…
-
0
votes1
answer286
viewsHow to create a Canvas object in Lazarus and add it to a Paintbox?
In a Form have a Paintbox property Align = alClient and a Button. I need to draw an object of the type Canvas within the Paintbox at the event Onclick of Button. This is the object of type Canvas…
-
0
votes0
answers81
viewsSyntax error when compiling in Windows CE
It is possible to make a Browser for windows CE using Lazarus? I made one with Gecko component but not compiled for windows CE, has some configuration to be done or it is not supported even? The…
-
0
votes1
answer294
viewsWSDL - Object Reference not set to an instance of an Object
In the code below the lReturn variable must contain a string with an xml returned from the web service, but the value returned by lRetorno:= ws.WS_Eleg_Portador(ws_aux); is being the message 'Object…
-
0
votes1
answer190
viewsExclude Unit from Lazarus
Someone could help me in a matter I couldn’t decipher. The thing is, I created a Unit in which I gave the name frmGrupos, well, she was making a mistake, I couldn’t identify the error and decided to…
-
0
votes0
answers818
viewsOpen and read an Excel spreadsheet by Lazarus Using OLE
The code below works perfectly in Delphi, but when ported to Lazarus, the code compiles without problems, but at the time of execution an exception occurs and the program is closed. function…
-
0
votes1
answer271
viewsLazarus depurador invalido
I installed: Lazarus 1.4.0/FPC 2.6.4 Lazarus Wince Cross Compile within folder C: Lazarus At Lazarus I made the following configuration: 1 -…
-
0
votes0
answers42
viewsLazarus before searching has to commit
Have you been there? If I have a query, and the result may change from third party programs Lazarus does not see that change unless before the search the commit is made and then the search. The…
lazarusasked 7 years, 7 months ago Tiago Casanova 778 -
0
votes1
answer88
viewsCan anyone tell us why this Lazarus/Pascal code is a mistake?
It is a simple class with get and set methods, but it generates an error when invoking any of the functions or procedures (at first I thought this only on line 43). unit uPais; {$mode objfpc}{$H+}…
lazarusasked 8 years, 4 months ago Hércules Moreira 191 -
0
votes0
answers41
viewsData Collector MX7
Does anyone know how I put an automatic ENTER after reading the barcode on the Honeywell Model MX7 collector, searched the manual but found nothing that could help me.
lazarusasked 7 years, 5 months ago Tiago Casanova 778 -
0
votes2
answers162
viewsLazarus Comparing Dates
In the data collector I can configure the format of Data, but I want to make this configuration within my application, I am trying to do as follows: FormatSettings.ShortDateFormat := 'dd-mm-yy';…
-
0
votes1
answer188
viewsConnect android app to a software installed on the pc to transfer file
I will start developing a software in Lazarus and an application for android. I wonder if there is any library or any reference to make communication via usb between the software and the…
-
0
votes2
answers347
viewsLazarus Debugando
In Delphi in debug mode I can check the value of a field, for example: if Edit.text = '' then If you hover over Edit I will be able to visualize the value of the field. How do I do this in Lazarus?…
-
0
votes2
answers169
viewsChange Tcontrol Enabled activates click event alone
Fala galera, By changing the (Tbutton) button to disabled within an event, it triggers another event. procedure TFormulario.OnButtonExecutarOperacaoClick(Sender: TObject); begin //... //aqui está o…
-
0
votes1
answer98
viewsHow do I use sendmessage?
I’m getting the list of resource classes from another application but I can’t find Button, edits or Abels classes and I see that the application has these features. This is my code: procedure…
-
0
votes1
answer42
viewsI would like to type in Edit and the values of the letters appear in theTMemo using this function format
I’d be very grateful if you could help me! It only gives the value of the letter typed in Edit if I type one time, if I try two or more gives error, I would like to know in that I’m wrong, I’d like…
-
0
votes0
answers8
viewsChange value of an item in Tjsonobject - Pascal
I have the following code : uses Classes, SysUtils, CustApp, fpjson, jsonparser ; var jsonEx4 : TJSONObject; begin //Inicio do Exercicio 4 jsonEx4:=TJSONObject.Create([ 'TProposta',…