On Thursday 31 of March 2011 01:06:48 Bart wrote:
Hi,
Is there any (more or less) reliable way to detect the size of the
desktop (that is: on the active screen, the space a form can occupy so
that it will take in account the presence of a taskbar etc.)
I need something like this to keep a
31.03.2011 7:06, Bart пишет:
Is there any (more or less) reliable way to detect the size of the
desktop (that is: on the active screen, the space a form can occupy so
that it will take in account the presence of a taskbar etc.)
..
I know how to do it on Windows.
Linux (GTK2) and MAC would be
Am 31.03.2011 04:09, schrieb waldo kitty:
On 3/30/2011 08:18, Zaher Dirkey wrote:
On Wed, Mar 30, 2011 at 12:52 PM, Marco van de Voort mar...@stack.nl
wrote:
On Wed, Mar 30, 2011 at 09:23:12AM +0200, Graeme Geldenhuys wrote:
The (L)GPL with exception bit absolves you from that.
On 2011-03-31 01:00, Luiz Americo Pereira Camara wrote:
On 29/3/2011 09:15, Paul Ishenin wrote:
29.03.2011 20:08, Torsten Bonde Christiansen wrote:
Hi List.
After updating to latest trunk version of Lazarus i've experience
something quite strange.
I'm using: Lazarus 0.9.31 r30067M FPC 2.4.2
On 30/03/2011 21:00, Darius Blaszyk wrote:
The TForm.OnKeyDown method is only executed once on Mac. On win32 it
is executed all the time, but then again the
TOpenGLControl1.OnKeyDown is not executed on win32 but works on Mac.
Welcome to GUI toolkit design. :-)
Regards,
- Graeme -
--
Am 28.03.2011 13:35, schrieb Felipe Monteiro de Carvalho:
On Mon, Mar 28, 2011 at 1:18 PM, Florian Klaempfl
flor...@freepascal.org wrote:
Am 28.03.2011 11:41, schrieb Felipe Monteiro de Carvalho:
If you want to
actually develop on the platform, you really need to get rid of
Android and
On 3/31/11, zeljko zel...@holobit.net wrote:
GetMonitorInfo(), GetSystemMetrics() SM_CXSCREEN,
SM_CYSCREEN,SM_CXVIRTUALSCREEN,SM_CYVIRTUALSCREEN doesn't help ?
On Windows GetSystemMetrics does return the size the (virtual) desktop
has, but it does not subtract the space occupied by the Windows
On 3/31/11, Paul Ishenin i...@kmiac.ru wrote:
TScreen.Monitors[i].WorkareaRect
I'll take a look.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On 3/31/11, Zaher Dirkey parm...@gmail.com wrote:
I already have this answer before. this command line params, that mean i
must make shortcut for it, and i am not sure if lazarus will take it when
rebuild packages and restart.
I use Lazarus with the --pcp=SomePath from a Desktop Shortcut under
On Thu, 31 Mar 2011 10:17:07 +0200
Bart bartjun...@gmail.com wrote:
On 3/31/11, Zaher Dirkey parm...@gmail.com wrote:
I already have this answer before. this command line params, that mean i
must make shortcut for it, and i am not sure if lazarus will take it when
rebuild packages and
On 31/3/2011 02:03, Vincent Snijders wrote:
2011/3/31 Luiz Americo Pereira Camaraluiz...@oi.com.br:
Please report bugs in http://code.google.com/p/luipack/issues/list
Added to http://wiki.freepascal.org/Lui_Controls#Bugs
Thanks
Luiz
--
___
On Thu, Mar 31, 2011 at 09:21:59AM +0200, Michael Schnell wrote:
Again: there is no benefit in using the Delphi stuff in FPC. That it works
in Delphi does not mean that we can actually recycle it (both licensewise
and technically).
This of course is true, but you often do prefer
Michael Van Canneyt schrieb:
Well, definitely not on Unix. On unix, the EXE directory should
never contain config files.
I dare to disagree. A SVN checkout is writeable, and this is where
the EXE is stored, along with the related source files. Consequently
the config should be stored there
Vincent Snijders schrieb:
2011/3/30 Hans-Peter Diettrich drdiettri...@aol.com:
Can somebody please clarify the intended procedure for configuring multiple
parallel Lazarus installations?
Always specify the primary config directory, if you have multiple
parallel Lazarus installations.
Michael Van Canneyt schrieb:
The only point I was trying to make is that on UNIX (and only on Unix)
looking by default in the directory where the binary is, goes against
long-standing unix practise and recommendations.
Depends on what you consider UNIX. I understand that ParamStr[0] may get
Zaher Dirkey schrieb:
You all repeat another discuses, while the end user like me, still have
problem to share him config espicialy for IDE.
IMO the current config is not shareable, due to the many absolute pathes
in it.
The real question, without using command line how to share config file
On 03/31/2011 09:12 AM, Graeme Geldenhuys wrote:
Welcome to GUI toolkit design. :-)
Yet another re-implementation of TTimer, TThread.Synchronize,
PostMessage, TApplication.QueueAsyncCall etc is due..
-Michael (could not resist ;) )
--
___
Lazarus
On 31/03/2011 12:15, Hans-Peter Diettrich wrote:
Michael Van Canneyt schrieb:
No unix tool does this. Not even when it is freshly (re)built from
sources. And neither should Lazarus.
I claimed no more, no less.
I never said that Lazarus should *break* that convention.
If the convention is to
On 31/03/2011 12:22, Hans-Peter Diettrich wrote:
Try compiling different versions of any unix application - this is where
repository checkouts enter the scene. And then try to use all these
versions in parallel...
I do this often, and have no problems. Why? Because the apps I use (in
this
Hans-Peter Diettrich drdiettri...@aol.com hat am 31. März 2011 um 13:50
geschrieben:
[...]
http://wiki.freepascal.org/Multiple_Lazarus#The_config_directory
Thanks for this link - as is, it fully supports my opinions :-]
The config directory
[...]
The config directory can be
On Thu, Mar 31, 2011 at 12:50:05PM +0200, Hans-Peter Diettrich wrote:
problem to share him config espicialy for IDE.
IMO the current config is not shareable, due to the many absolute pathes
in it.
Interesting. How did you test this? Did you try the lazarus-dir parameter
approach? IIRC one
On Thursday, March 31, 2011 12:22 Hans-Peter Diettrich wrote:
Right, but this is only a workaround, that requires much care in making
it work. Did you ever notice the many error messages and warnings, at
the first start of a another Lazarus installation, when it tries to
initialize itself
Martin laza...@mfriebe.de hat am 31. März 2011 um 13:22 geschrieben:
[...]
This whole discussion seems to mix 2 issues into one:
- problems caused by using the wrong config due to none awareness (imho
the main issue)
+1
- convenience of using multiply configs.
Searching for config
On 31/03/2011 13:09, Mattias Gaertner wrote:
Martin laza...@mfriebe.de hat am 31. März 2011 um 13:22 geschrieben:
[...]
This whole discussion seems to mix 2 issues into one:
- problems caused by using the wrong config due to none awareness (imho
the main issue)
+1
- convenience of using
If there is no config yet, how does lazarus find the installed fpc?
I have several version (under c:\fpc), and the IDE finds each of them
(runs compilertest).
How does it know?
Martin
--
___
Lazarus mailing list
Martin laza...@mfriebe.de hat am 31. März 2011 um 14:46 geschrieben:
If there is no config yet, how does lazarus find the installed fpc?
I have several version (under c:\fpc), and the IDE finds each of them
(runs compilertest).
What compilertest do you mean?
How does it know?
On 31/03/2011 14:05, Mattias Gaertner wrote:
Martin laza...@mfriebe.de hat am 31. März 2011 um 14:46 geschrieben:
If there is no config yet, how does lazarus find the installed fpc?
I have several version (under c:\fpc), and the IDE finds each of them
(runs compilertest).
What
Martin laza...@mfriebe.de hat am 31. März 2011 um 15:27 geschrieben:
On 31/03/2011 14:05, Mattias Gaertner wrote:
Martin laza...@mfriebe.de [mailto:laza...@mfriebe.de] hat am 31. März 2011
um 14:46 geschrieben:
If there is no config yet, how does lazarus find the
Dear all,
I loaded a lazarus project on my new Ubuntu 10.10 intel64 (lazarus
0.9.31 r30096 FPC 2.4.2 x86_64-linux-gtk 2).
The application is compiled correctly but it won't run.
Lazarus give me this message:
Caption: Lazarus application invalid
Text: The launching application path/exename
does
On 31/03/2011 13:02, Andreas Schneider wrote:
Sorry, but a newbie shouldn't juggle with a bunch of lazarus
installations of different versions in the first place. Either you
know what you are doing, or you don't. In the latter case: stay away
from it until you do :D
What
On 3/31/11, Paul Ishenin i...@kmiac.ru wrote:
TScreen.Monitors[i].WorkareaRect
This seems to work for Win and Linux/GTK2.
This raises yet another question though.
How do I know on which monitor my form is?
(I only have one monitor, so I cannot test this)
Bart
--
Am 31.03.2011 16:15, schrieb Bart:
On 3/31/11, Paul Ishenini...@kmiac.ru wrote:
TScreen.Monitors[i].WorkareaRect
This seems to work for Win and Linux/GTK2.
This raises yet another question though.
How do I know on which monitor my form is?
(I only have one monitor, so I cannot test this)
On 31/03/2011 15:35, Sven Barth wrote:
Am 31.03.2011 16:15, schrieb Bart:
On 3/31/11, Paul Ishenini...@kmiac.ru wrote:
TScreen.Monitors[i].WorkareaRect
This seems to work for Win and Linux/GTK2.
This raises yet another question though.
How do I know on which monitor my form is?
(I only
2011/3/31 Sven Barth pascaldra...@googlemail.com:
What about this:
Screen.MonitorFromWindow(YourForm.Handle);
It returns a TMonitor.
Regards,
Sven
Maybe a little OT, but is it possible to change screen resolution
(e.g. on a native 19200x1200 set 800x600) in a crossplatform way?
I need
Somebody have rebuild lazarus-0.9.30-i386.deb.tar IDE in Debian Squeeze with
fpc-2.4.2-0.i386.deb.tar without giving the error:
/usr/lib/lazarus/0.9.30/ide/lazconf.pp(1,1) Fatal: Can't find unit
DefineTemplates used by LazConf
As I could solve this problem?
Regards
=
|| ISMAEL ||
On 3/31/11, Sven Barth pascaldra...@googlemail.com wrote:
What about this:
Screen.MonitorFromWindow(YourForm.Handle);
It returns a TMonitor.
Thanks.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On Thu, 31 Mar 2011 17:32:10 +0200
Sven Barth pascaldra...@googlemail.com wrote:
I'm not really confident in this, but I believe if you tell OpenGL to be
fullscreen in that or that resolution it will switch to that automatically.
No, it does not, because you don't give such information to
31.03.2011 22:15, Bart wrote:
On 3/31/11, Paul Ishenini...@kmiac.ru wrote:
TScreen.Monitors[i].WorkareaRect
This seems to work for Win and Linux/GTK2.
This was tested on OSX during the development too.
This raises yet another question though.
How do I know on which monitor my form is?
(I
On 4/1/11, Paul Ishenin webpi...@mail.ru wrote:
This was tested on OSX during the development too.
Nice.
Looks like search does not work on your PC anymore.
(Well, it is slow on my 10 year old machine, but is still works most
of the time.
I also searched the forum and wiki.)
Look at
Martin schrieb:
This whole discussion seems to mix 2 issues into one:
- problems caused by using the wrong config due to none awareness (imho
the main issue)
- convenience of using multiply configs.
The first problem disappears as soon as a config resides in the Lazarus
directory, next the
On 31/03/2011 21:09, Hans-Peter Diettrich wrote:
Martin schrieb:
This whole discussion seems to mix 2 issues into one:
- problems caused by using the wrong config due to none awareness
(imho the main issue)
- convenience of using multiply configs.
The first problem disappears as soon as a
leledumbo schrieb:
Do you mean the default linker script doesn't work? Those -lxxx would be
linked against libxxx.so, so make sure you have them in PATH (usually
/usr/lib). Just create .so symlinks to those .so.0s
Ok, I'll try if a .so link farm helps to solve this problem this weekend.
Andrea Mauri schrieb:
Anyway the compilation seems to work well but if I try to launch the
executable outside Lazarus I got this message
Could not display path/exename.
There is no application installed for executable files
What does `file executable` and `ldd executable` say?
example:
43 matches
Mail list logo