Questions tagged as 'lazarus'

0
answers

Lazarus before searching has to commit

Have you been through this? If I have a query, and the result can be changed from third-party programs, lazarus does not see this change unless before the search is committed and then the search. Next scenario: We imagine that in the first searc...
asked by 09.05.2017 / 15:04
1
answer

Delete unit of lazarus

Someone could help me on an issue that I could not decipher. It is as follows, I created a unit in which I named frmGroups, well, it was giving error, I could not identify the error and I decided to delete everything that belonged to it and reco...
asked by 04.08.2016 / 19:43
1
answer

Does anyone know why this Lazarus / Pascal code gives error?

It is a simple class with get and set methods, but it generates an error when invoking any of the functions or procedures (from the beginning I found that only on line 43). unit uPais; {$mode objfpc}{$H+} interface uses Classes, SysUtils,...
asked by 01.08.2016 / 19:22
0
answers

Open and read an Excel spreadsheet by Lazarus Using OLE

The code below works perfectly in Delphi, but when I ported to Lazarus, the code compiles without problems, but at the time of execution an exception occurs and the program is closed. function TFMain.AbrePlanilha(NomePlan: String): Boolean; be...
asked by 10.07.2015 / 23:34
0
answers

Report on excel Lazarus

I'm using the following code to export a report to Excel in Lazarus: procedure Tfrmconsultar.BitBtn2Click(Sender: TObject); var PLANILHA:variant; LINHA,CONT:Integer; begin CONT:=QueryClientes.RecordCount; ProgressBar1.Max:=CONT; ProgressBar1....
asked by 15.05.2015 / 14:10
0
answers

Syntax error when compiling in Windows CE

Is it possible to do a Browser for windows CE using Lazarus? I made one with the Gecko component but it did not compile for windows CE, have some configuration to be made or is it not even supported? The following error occurs:    Fatal...
asked by 06.04.2015 / 18:45
1
answer

WSDL - object reference not set to an instance of an object

In the code below the variable lRetorno 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 reference not set to an instance of an...
asked by 10.04.2015 / 15:12
1
answer

How to create a Canvas object in Lazarus and add it to a PaintBox?

In a Form I have a Paintbox with property Align = alClient and a Button . I need to draw a Canvas object within Paintbox in the Button OnCLick event . This is the Canvas object to create: const IconSize:Integer = 10 type...
asked by 26.03.2015 / 09:55