lazarus Questions
4
I installed 64-bit Lazarus and want to generate 32-bit code. When I try to set Target OS to Win32 I get error message
Compiler "C:\Programs\lazarus\fpc\2.6.0\bin\x86_64-win64\fpc.exe" does
not ...
Eno asked 14/12, 2012 at 8:10
12
I'm trying to write a simple SQLite application using Lazarus and the SQLdb components.
I connect to the database and populate a TDBGrid. Problem is that all columns that are text fields display th...
1
I am trying to implement nsurlconnectiondatadelegate as I need to support async mode - in synchronous mode redirects are followed automatically which I do not want.
For reference I have the code ...
Replevin asked 27/5, 2018 at 10:18
2
Solved
Today I tried to use BrookFramework with Lazarus 2.0.6 on Windows 10. It compiled everything just fine (I tried the simple FastCGI application), but when I try to open the file "http://localhost/cg...
Amethist asked 4/3, 2020 at 15:55
2
Solved
I want to do a basic procedure that draws something (let's say a triangle, for simplicity) on any control's (button, panel, etc) canvas:
procedure DrawTriangle(Control: TCustomControl);
In this fu...
4
Solved
I'm looking to find something like Torry but instead of being Delphi centric, it should be Lazarus centric.
I'm aware of the Source Forge Project Code and Component Repository but I'm looking for ...
Weakfish asked 3/8, 2009 at 22:58
4
Solved
I have searched all over for this. In Delphi/Lazarus, given a position, I want to find the character at that position in a different string. I know how to find the position of a character. I need i...
8
Solved
I have a co-worker with a strong background in Ruby that is interested in getting started with Delphi and native development. However, I understand that Turbo Delphi (based on Delphi 2006) is no lo...
Angiosperm asked 9/7, 2010 at 4:41
3
Solved
I have the following:
TDirection = (dirNorth, dirEast, dirSouth, dirWest);
TDirections = set of TDirection;
In a seperate class I have it declared as a property:
property Directions: TDirection...
Wilmer asked 12/9, 2013 at 19:50
3
Solved
I'm developing a program that needs to parse the file name into a TTextField. How to remove the file extension I've already know(or think that I can do like this):
var
FName: String;
FPath: Stri...
2
Solved
I have a unit which is for both Delphi & Lazarus. In Lazarus the unit compiled without any exception but in Delphi it gives me Error Data type too large: exceeds 2 GB. Below is the code:
unit ...
Pouliot asked 4/4, 2017 at 7:19
1
Solved
Lazarus has a feature called Multi Caret which allows typing code in the Code Editor (Source Editor) on multiple lines at once.
Does Delphi have such a feature?
1
Solved
I'm working through tutorials in both Delphi and Lazarus. I'm using Delphi 10.1 Berlin Update 2 and Lazarus 1.6.2.
The following constructors work in Delphi, but the constructor in the TDog class ...
5
Solved
I need to pull numbers from a string and put them into a list, there are some rules to this however such as identifying if the extracted number is a Integer or Float.
The task sounds simple enough...
Lobito asked 31/10, 2016 at 13:56
5
Solved
Firstly, I saw some topics about these two but weren't my answer.
I'm looking for a good FPC(Free Pascal Compiler) IDE on GNU/Linux.
There are some IDE's like Lazarus and CodeTyphon. I need sugge...
Swipe asked 30/5, 2013 at 14:6
2
Solved
I am struggling to figure out the commands I want to use after changing a database. I'm learning via SQLite3 and db-aware controls, and here's my understanding ...
When a user types something in a...
2
Solved
I am running Lazarus 0.9.30.
I have a standard TStringGrid on a form and want to show a different hint as I move my mouse pointer over a column title. I am using this code to do this and it sort o...
Gulf asked 14/2, 2012 at 14:46
1
Solved
I'm working on a component that should be shared between Delphi and C++Builder, so I'm using Pascal as the lingua franca. Because I don't have Delphi on my computer at home, I first created the com...
Redwine asked 22/10, 2015 at 12:25
2
Solved
Why doesn't this code result in a compiler error? I would have expected error for example 'ambiguous call to "CallMe"'. Is this a bug in the compiler or in the language? This can worked around by u...
2
Solved
I have a some numbers stored in a Integer called mode, but I need to use they in a TProcess. For this I need to convert the Integer into a String, because if I don't do this, I got the error:
In...
4
Solved
I'm having some problems addressing logical drives. For clarity, my definition of 'Physical Disk' (PD) is the raw disk regardless of partitioning. 'Logical Drive' (LD) refers to a volume such as Dr...
Downbow asked 5/6, 2015 at 16:26
1
Solved
I am looking for a way to use one procedure for multiple buttons. It's for a quiz like you have to press Button 1 for question 1, but copy and pasting the whole code for 36 buttons and changing the...
Coremaker asked 5/1, 2015 at 18:49
3
Solved
I would like to know:
If it's possible to use Lazarus (Pascal) for both Android and iOS development.
If the answer seems positive, do I need a third-party SDK/API or package to do this?
Thanks!...
4
Solved
I am attempting to convert a GUI application that I made in Delphi (actually, its Lazarus) to a library(DLL).
In the GUI application I used a OnDataChange event listener, but I cannot seem to figu...
Pikestaff asked 5/9, 2011 at 13:52
2
Solved
I just downloaded the last version for Xcode (5.0) and need it develop some Pascal codes on Lazarus. However, the installation requires me to use command line tools, which have a problem downloadin...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.