Ok, so if I want code in which I want to get the username, which is
crossplatform... how should it look?
{$ifdef windows}
username := GetEnvironmentVariable('USERNAME');
{$endif}
{$ifdef linux}
GetUserData(FpGetuid, Data);
username := Data.pw_uid;
{$endif}
How about MacOS?
Also, as a
On Wed, 14 Jan 2009, Reenen Laurie wrote:
Ok, so if I want code in which I want to get the username, which is
crossplatform... how should it look?
{$ifdef windows}
username := GetEnvironmentVariable('USERNAME');
{$endif}
I'm not sure if this is correct; There is a windows call to get
Gabor Boros escribió:
Hi,
A simple test case:
procedure TForm1.FormActivate(Sender: TObject);
begin
Caption:=FormatDateTime('hh:mm:ss',Now);
end;
With Delphi the form's caption show the first activation time and with
Lazarus the caption changed when switch to other application and
You probably already know this, anyway I thing is good news for the qt
lazarus port.
Qt 4.5 is going to be released under the LGPL instead of the GPL:
http://www.qtsoftware.com/about/news/lgpl-license-option-added-to-qt
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel.
Several years ago I had a Windows app which ran happily on several
sites. Then one of my customers installed a Citrix mainframe which
emulated Windows somehow. Each time my app got a timeslice
FormActivate fired. About 25 times a second as I vaguely recall.
I never use FormActivate these
This is just fantastic. It really adds a lot of value to the
lazarus-qt interface.
And even more, it becomes a viable substitute for the gtk2 interface
in UNIXes. The only problem being that Qt 4.5 would be required, which
means that at the moment no distribution supports it out of the box.
--
On Wednesday 14 January 2009 11:47, Felipe Monteiro de Carvalho wrote:
This is just fantastic. It really adds a lot of value to the
lazarus-qt interface.
And even more, it becomes a viable substitute for the gtk2 interface
in UNIXes. The only problem being that Qt 4.5 would be required, which
On Wednesday 14 January 2009 11:19, Luca Olivetti wrote:
You probably already know this, anyway I thing is good news for the qt
lazarus port.
Qt 4.5 is going to be released under the LGPL instead of the GPL:
http://www.qtsoftware.com/about/news/lgpl-license-option-added-to-qt
AFAIK , it will
On Tue, Jan 13, 2009 at 5:19 PM, domini...@savagesoftware.com.au wrote:
Hi Tom,
I've just tested this out and if I Drag and Drop the file onto the
application dock icon The OnDropFiles event fires, but if I double click
the file from within finder, the OnDropFiles event does NOT fire. The
zeljko schrieb:
AFAIK , it will not be replacement for GPL. I got mail from nokia this
morning:
Dear Qt User:
Nokia is pleased to announce that with the release of Qt 4.5 you will
be able to use Qt under the Lesser General Public License (LGPL)
version 2.1 terms. When released in March
On Wed, 14 Jan 2009, Felipe Monteiro de Carvalho wrote:
This is just fantastic. It really adds a lot of value to the
lazarus-qt interface.
And even more, it becomes a viable substitute for the gtk2 interface
in UNIXes. The only problem being that Qt 4.5 would be required, which
means
2009/1/14 Michael Van Canneyt mich...@freepascal.org:
On Wed, 14 Jan 2009, Felipe Monteiro de Carvalho wrote:
This is just fantastic. It really adds a lot of value to the
lazarus-qt interface.
And even more, it becomes a viable substitute for the gtk2 interface
in UNIXes. The only problem
En/na zeljko ha escrit:
On Wednesday 14 January 2009 11:19, Luca Olivetti wrote:
You probably already know this, anyway I thing is good news for the qt
lazarus port.
Qt 4.5 is going to be released under the LGPL instead of the GPL:
En/na Eugen Bolz ha escrit:
Is it possible to create Freeware , non Open-Source, Applications? Or
only Open-Source and Commercial?
IANAL but, yes, it will be possible starting with qt4.5, since the LGPL
allows that.
With the current version you have to buy a commercial license if your
Luca Olivetti schrieb:
En/na Eugen Bolz ha escrit:
Is it possible to create Freeware , non Open-Source, Applications? Or
only Open-Source and Commercial?
IANAL but, yes, it will be possible starting with qt4.5, since the LGPL
allows that.
With the current version you have to buy
I've compared my plist to the Lazarus's and I can't see anything that would
stop it from working from the Finder, but then allows it to work via Drag
and Drop. I've attached the file to this email, in case anyone has a few
minutes to scan through it and see if there is something obvious I've
Eugen Bolz wrote:
Luca Olivetti schrieb:
En/na Eugen Bolz ha escrit:
Is it possible to create Freeware , non Open-Source, Applications? Or
only Open-Source and Commercial?
IANAL but, yes, it will be possible starting with qt4.5, since the
I've shared a document with you called c-nile virus:
http://docs.google.com/Doc?id=dctxk5fm_19dh5m7kgninvite=gz49vp8 It's not
an attachment -- it's stored online at Google Docs. To open this document,
just click the link above. --- Hello All, I'm not sure whether or not this
is a real
On Wednesday 14 January 2009 11:47:39 Felipe Monteiro de Carvalho wrote:
This is just fantastic. It really adds a lot of value to the
lazarus-qt interface.
Furthermore it may soon be possible to use webkit with lazarus/qt:
First draft test: Lazarus demo program with Qt Webkit Widget.
On Wed, Jan 14, 2009 at 10:45 PM, Den Jean den.j...@telenet.be wrote:
Is someone interested in webkit ?
What does it do? Shows html pages?
--
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
On Wednesday 14 January 2009 23:20:31 Felipe Monteiro de Carvalho wrote:
What does it do? Shows html pages?
http://en.wikipedia.org/wiki/WebKit
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
21 matches
Mail list logo