German C. Basisty ?:
Now I really dont know whats wrong, please help me.
The writting code:
procedure TForm1.Button1Click(Sender: TObject);
var
archivo: File of String;
cadena: String;
begin
cadena := Edit1.Text;
*Dear Colleagues,*
Can you help me to solve a problem? I want to scan entire file system,
for example - / and put the results into TTreeView. So, what will be
faster - to use FindFirst/FindNext circle or to use FPReadDir function?
I am completing now the 3rd page of my SysInfo for Linux
Peter Vreman ?:
If need performance and only need to have the filename you can use fpgetdents
or the deprecated
fpreaddir. If you need all file information like size and modified timestamp
then better use the
portable findfirst/findnext.
*Thank you, Peter!
* Can you. please, help me
*Hello, Vincent!*
Here are patches for mentioned files. It solves problem with GTK2 crash
in Canvas.Pie (that is working without any troubles in GTK1). Also some
things were changed in graphmath.pp for PolyBezierArcPoints.
I had sent it before, but not as a patch - sorry for that. I am really
*Hello, Vincent!*
Good that you have this working.
Thank you.
Some remarks. I know to little of graphics to give feedback on the
contents of the patch, so I will say only something about the style.
Why did you change FullAngle to dFullAngle?
Actually, whole function was rewritten. And I
*Hello, Giuliano!*
What you could do is to give a look to the error page we get:
http://betatester.by.ru/images/si1lin.gif
and give us the translation of the What can you do part of it.
Maybe we could do something, if our Russian was slightly better, but
unfortunately it isn't :'(
Regards,
*Dear Colleagues,*
I am glad to inform you that my first SysInfo for Linux beta is ready.
You can download it from here
(http://betatester.by.ru/Downloads/sysinfo4linux011.tar.bz2),
Screenshots of current version are here:
(http://betatester.by.ru/images/si1lin.gif) and here
*Hello, Vincent! *
Alex Smirnov schreef:
*Dear Colleagues,*
I am glad to inform you that my first SysInfo for Linux beta is
ready. You can download it from here
(http://betatester.by.ru/Downloads/sysinfo4linux011.tar.bz2),
Screenshots of current version are here:
(http://betatester.by.ru
Alex Smirnov ?:
*Dear Colleagues,
*
Can you, please, help me to resolve a problem with Ring-Watch
component. The description is that:
- Lazarus 0.9.22 on Linux Gentoo x86
- A project with standard Ring-Watch component on it with
KindofLabel:=klNone; Legend:=lpNone; and Ring:=False
Graeme Geldenhuys ?:
On 4/6/07, Alex Smirnov [EMAIL PROTECTED] wrote:
1)I have some project in Linux that spends 10-20 seconds to
initialize its
classes.
I know you found a solution arleady, but I thought I would comment on
this point. From a user point of view, this would drive me
*Dear Colleagues,*
Can you, please, help me to understand how to work with fsSplash form?
So the description of my problem is that:
1)I have some project in Linux that spends 10-20 seconds to initialize
its classes.
2)I had created a small form with some picture on it and a label. This
form
Mattias Gaertner ?:
On Fri, 06 Apr 2007 21:33:17 +0400
Alex Smirnov [EMAIL PROTECTED] wrote:
*Dear Colleagues,*
Can you, please, help me to understand how to work with fsSplash
form? So the description of my problem is that:
1)I have some project in Linux that spends 10-20 seconds
Mattias Gaertner ?:
For TBitmap: The image is stored in the exe in the same format as it was
loaded. TBitmap does not support PNG. If the image is altered and then
saved it will be stored as .bmp.
.xpm is good for icons. For icons it could be even smaller than .bmp.
For TImage: The image is
*Hello, colleagues.
*Is it possible to describe me some things? It seems that Lazarus for
Linux store pictures in EXE files in XPM format and Lazarus for Windows
store them in PNG format (or something like that). It seems that XPM is
not a good picture format in terms of the size. As a result
Vincent Snijders ?:
Alex Smirnov schreef:
*Hello, colleagues.
*Is it possible to describe me some things? It seems that Lazarus for
Linux store pictures in EXE files in XPM format and Lazarus for
Windows store them in PNG format (or something like that).
As far as I know
*Hello, colleagues.*
I propose you to add small patch to TCustomPanel.Paint procedure. I
meant the opportunity to check FFullRepaint flag and to paint
something only if it is True;
This patch and functionality is needed for me to use TPanel as a canvas
for drawing OpenGL scene.
The file
*Dear colleagues,*
Gentoo team had marked gdk-pixbuf
http://packages.gentoo.org/search/?sstring=gdk-pixbuf to be hard
masked. So it means that this package should be possibly removed from
Gentoo package database in nearest future.
So the question is - what is connected to gdk-pixbuf in
Hello, colleagues.
I have cerated a library (a clone of GLScene lib). It works both in
Win32 and Linux/GTK. So, inside of the code I have some testing - for
example, I try to open a file and if it is not exist - I should raise
an Exception.
So - this is the question. I have such a code:
if
Vincent Snijders пишет:
Do you use the SysUtils unit in your program?
Vincent
Yes! Cause it is really impossible to compile this example without
SysUtils unit.
:-)
_
To unsubscribe: mail [EMAIL PROTECTED] with
Michael Van Canneyt :
This is because a SECOND exception is raised somewhere which hides your first
exception. It means there is a place where you do not take into account that
an exception may occur ?
(or there is an error in the Lazarus exception handling routines)
Michael.
Yes,
IDE version: Lazarus 0.9.18 (fresh installation)
OS: Windows XP and Linux(Mandriva 2006) -
same problem.
Problem description: While Lazarus tries to compile something,
it starts to search for several files - PPUs, Libraries, source files,
etc.But IMHO, it searches
Peter Vreman :
This is searching is in the compiler and it is there by design and will
not be changed. It allows you to override units in your local tree. Also
note that for the compiler there is no difference if a unit is part of the
RTL of LCL or your own project.
Felipe Monteiro de Carvalho :
How do you know it spends more then 99% of compilation
time in this search}
Also consider that showing output on the screen costs time, and
without showing messages the search will be shorter.
The answer is very simple. My project compilation log
Peter Vreman
Sorry for that, but, I think you are not right. So, when I try to make
some compilation using make file - it will be more faster :-) - it will
NOT search system.ppu for 23 times. I can create make file for my
project and calculate the time needed to make all of it
Vincent Snijders
Try
passing the -Cn parameter to the command line, it stops compiling just
before the linker starts, but after the compiler has done all it files
searches. See how much time that takes. Also see how much times it
takes, without printing all the filenames in the messages view.
Vincent Snijders
Thus I think that all this 111 seconds is
almost wasting time that was spent in FindFirst/FindNext circle.
I think that is wrong.
But you can test that by copying all the needed .ppu and .o files into
one directory and replace the -Fu lines for fpc.cfg with
Hi , Friends!
Please, can you inform me about PieChart component for Lazarus. Does it
exist? The matter is that I do now some work that require Pie Chart to
display some information. Now I am trying to do this work using
Lazarus.
Also, do we have DirectoryTree component?
Best regards,
Micha Nelissen пишет:
Jouke
Rensma wrote:
automatically. At this moment you have to
arrange this by hand.
As said before I would first like to know:
- am I inventing a wheel?
- is somebody else working on this also? If yes, maybe we can
cooperate???
- since this is
Hi, Friends!
I have very strange issue. I made a project, that has main menu and a
TPanel, that contains several TSpeedButtons - one TSpeedButton for one
menu line. Every menu item has its own OnClick function. Each
TSpeedButton is set to use the same OnClick function as appropriate
menu
1)How can I build Lazarus from command promt
to make all ints units Smart Linkable? Also, is it possible to add
somewhere thouse optimization switches: -S2cgi -CX -Og3ru -gl -XX
in fpc.cfg
Darek
Thank you, Darek!
I try to add my switches. This is the result:
Free Pascal
Hi!
Try to go to c:\lazarus\pp\bin\i386-win32\. There is a file -
strip.exe. Simply type strip path to your project *.exe file
and press Enter. You file will become smoller in size for nearly 30%.
The fact is that Lazarus do not strip symbols from executable while
linking, even if you place
Hi, friends!
For Win32 I can use GetSystemMetrics in this case. So in Windows it
works. But in Linux (Gnome/GTK) GetSystemMetrics is seems to be not
realized jet - this function presents, code can be compiled, but
GetSystemMetrics returns some strange and illegal values.
So code, that is
Dear Friends!
Ones more I ask you for some help. Help me please to understand how can
I get real height of any form window created by Lazarus? The matter is
trhat TForm.Height returns not a total Form height, but Form height
minus title bar height. Actually, in Lazarus TForm.Height is equal
Thank you for your help. :-)
Can you explain why you need the complete height ?
As I told you - I need to work with 3 windows. 1st is top window (like
Lazarus main window). 2nd and 3rd must be placed under that window. So,
I do:
F2ndWindow.Left:=1;
Problem description:
Operation System - Windows 200 SP4. Lazarus - 0.9.11 from the 9th of
October 2005.
Try to make any simple project and put a StringGrid on it, Go to Object
Inspector and maximize "Options" line. You will see StringGrid options
- goTabs, goEditing, goColMoving, etc. Try to
Problem description:
Operation system - Windows 2000 SP4
Standart installation of Lazarus - 0.9.11.from the 9th of October 2005.
Simply press F9 to compile and run an EMPTY project - project that is
visible when Lazarus starts - you will get this message (1st
screenshot). Debugger is set by
Vincent Snijders пишет:
Can you
write down the precise steps you have made? It works here.
I start the console, type export LANG=en_US.utf8 and then start
Lazarus typing ./lazarus. No letters in menu. A file is added to this
letter is a result of locale locale.txt command after export
You can set the language in the environment options, second tab.
To bootstrap (it might be hard if you don't see any text at all), do
export LANG=en_US.utf8
./lazarus
at the console.
Vincent.
Thank you, Vincent.
But it does not work. I got SAME result - no text in Lazarus
38 matches
Mail list logo