Questions tagged [lazarus]

Lazarus is an open-source multiplatform RAD environment for the Free Pascal compiler, in the spirit of Delphi, with which it has a fairly high degree of compatibility.

Lazarus is a an open-source multiplatform RAD environment for the Free Pascal compiler, in the spirit of Delphi, with which it has a fairly high degree of compatibility.

See http://lazarus.freepascal.org

1306 questions
3
votes
2 answers

Indy 10 TCP Client Server - testing for open communication channel

I am modifying an Indy10 TCP/IP application and I would like your suggestions/opinions/sample code on implementing a client side function that does the following a) on application startup when the splash screen is displayed, it verifies that the…
JDaniel
  • 100
  • 4
  • 9
3
votes
2 answers

What would be the best technology to use for cross-platform GUI development?

I am wanting to start a new (open source) project, and I wish for it to be cross-platform on Windows and Mac OS X (Linux would be good, too!) I am open for developing seperate front-ends for each platform, but the core logic should be shared. I…
Jeff
  • 12,085
  • 12
  • 82
  • 152
3
votes
0 answers

OnMouseWheel not firing with THTMLPort component in Lazarus

I am using Lazarus with THTMLPort to render some html code in my program. The OnMouseEvent for the HTMLViewer window is not firing on the mouse scrolling. I have found a problem like this in a similar, but not the same, project for Delphi, called…
preahkumpii
  • 1,301
  • 4
  • 21
  • 36
3
votes
0 answers

Should I use CodeTyphon in Win or Lin for cross-platform development?

Lazarus CodeTyphon Edition looks promising to me as a Delphi developer. I tried installing it on my Windows 7 64-bit machine, and I can compile for Win32 (it seems), but not for anything else. It appears that "ppcrossx64.exe was not built" - oh…
Jeff
  • 12,085
  • 12
  • 82
  • 152
3
votes
4 answers

Handheld Development, Lazarus or Turbo Delphi.Net

I begin to program some handheld program as hobby, right now i currently have knowledge on Blackberry App (Java), Symbian S60 (PyS60) and J2ME Something that i wanna learn was Windows Mobile/Pocket PC and iPhone development, but since i don't use…
Dels
  • 2,375
  • 9
  • 39
  • 59
3
votes
2 answers

How to get the text width of a string in ExtPascal

I am trying to position buttons (TExtButton) using the ExtPascal library (wrappers round ExtJS) in Lazarus. I want to set the width of the buttons based on the text and font of the button. I have tried various combinations of GetWidth and…
Mark Patterson
  • 417
  • 2
  • 6
  • 15
2
votes
1 answer

Programmatically triggering the privileges dialog under a Lazarus application on Ubuntu

I want to ease my father's task of installing some software that I'm developing for him. For this I'm using Lazarus and I would like to know if there is and API to raize the privilege escalation dialog. It seams to be hard to pin-point a single…
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76
2
votes
1 answer

How to detect samba locked files programmatically?

How can I get a list of files locked by samba programmatically? There is a command smbstatus which will give you that information. But I want to get that info within my program (written in Lazarus). One method is to run smbstatus as a child process…
ssh
  • 943
  • 1
  • 14
  • 23
2
votes
1 answer

Why Do The Cell Properties In A TStringGrid Column Title Cells Change When A Grid Is Loaded?

I am running Lazarus v0.9.30 (32 bit compiler). This question is an extension of a previous question of mine. The previous question revolved around how to change the orientation of text in the TGridColumns objects that I loaded at runtime into a…
user1174918
  • 525
  • 6
  • 22
2
votes
1 answer

TTabSet tab Order....Different At Run Time Than Design Time

I am running Lazarus 0.9.30.2. I have a TForm on which there is a TPageControl. Within the TPageControl there is a series of TTabSheets. At runtime the order of the TTabSheets differs from design time (see picture). The order in design time is…
user1174918
  • 525
  • 6
  • 22
2
votes
1 answer

How do you associate an object to a TGridColumns object

I am running Lazarus 0.9.30. I have a standard TStringGrid on a form and have a function that dynamically adds TGridColumns objects to it at run time. I have a collection of objects that contain all the attributes of each column (that I read out of…
user1174918
  • 525
  • 6
  • 22
2
votes
3 answers

How to configure ODBC Data Source Administrator (DSA) for MS Access db?

I ultimately want to query an existing MS-Access database (say, contacts.mdb) from a Lazarus program I will write. It appears that configuring a User DSN is the first step. In the ODBC DSA, I am stuck at Adding a driver for MS-Access databases. What…
dkjMusic
2
votes
3 answers

lazarus or Java

I have a Delphi background, also C++ background. But last several years, I involved in web projects, and worked primarily with PHP. Now I am looking for a platform to develop simple desktop applications (interacts with server). I was thinking of…
bkilinc
  • 989
  • 2
  • 13
  • 28
2
votes
1 answer

How to get Windows user privileges information with Lazarus/Free Pascal

Using Lazarus/Free Pascal, how can I get the user privileges of the user running my program (whether he's an Administrator, Regular user, or Guest)?
Shade
  • 9,936
  • 5
  • 60
  • 85
2
votes
1 answer

How to pass a larger buffer size to DCPCrypt 'UpdateStream' Procedure

I have a program that currently hashes files using just SHA1. No other options. It hashes them using the SHA1 hash function that's part of the Lazarus and Free Pascal Compiler. I've since added the ability to use MD5, SHA256 and SHA512 by using the…
Gizmo_the_Great
  • 979
  • 13
  • 28