Wonderful !
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
Le 03/11/2019 à 08:25, Bo Berglund via lazarus a écrit :
I cannot use the direct connection, though, because I am heavily
depending on being able to copy stuff across between the two systems
and I also need to have access to my other tools on the Windows
computer. So I have to stick with VNC any
May be you can create a new component class, based on TPanel, in which
you place a TCheckbox with empty text and a TLabel at the position you
want ?
TCheckbox implementation is dependant on the widget set you use ("win32"
I guess in your case), I don't think you can tune it easily.
--
My post is close to off topic, but I've seen recently a paper on arXiv
proposing to use Chinese characters for logic operators ...
The keyword for AND would be 与
The NOT : 非
The XOR: 异或
The boolean OR: 规约或
The bitwise OR: 按位或
;-)
https://arxiv.org/pdf/2004.10675.pdf
--
__
Le 06/07/2020 à 00:04, Marco van de Voort via lazarus a écrit :
Op 2020-07-05 om 22:17 schreef Jean SUZINEAU via lazarus:
My post is close to off topic, but I've seen recently a paper on
arXiv proposing to use Chinese characters for logic operators ...
When, April 1st? :-)
:-) Not far
I do this too, using VirtualBox shared folders.
The physical machine is a Windows 8 with the source directory, where I
can compile with Lazarus for Windows.
I run an Ubuntu vm using Virtual Box, with shared folders pointing to
my source directory. The Lazarus on Ubuntu can compile directly i
It's nice that Embarcadero comes back to a Pascal IDE build with Pascal.
It's seems this IDE is compiled with Delphi 7, with .bat and .exe files,
I imagine it's windows only ?
May be it would have been nice that they sponsor Lazarus ;-) ?
Lazarus runs on nearly every platform where you want t
+1
I agree
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
Sorry, I didn't notice.
I think it's my mail provider Orange/Wanadoo, the french phone operator.
Sometimes they arbitrarily insert *** SPAM *** in the subject of some
mails before I receive them .
I should have removed it by hand.
Le 26/12/2020 à 12:15, Anthony Walter via lazarus a écrit :
W
I guess this settings are saved in the .lps file of your project.
In my own lps files, I can find the units opened in the code editor, my
debug watches ...
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listin
Le 28/12/2020 à 18:13, Bo Berglund via lazarus a écrit :
Could you please direct me to where in Lazarus this can be done?
Usually when I add a unit uA.pas to a project (by opening the unit in
the code and then hitting Shift+F11 or Project/Add editor file to
project), Lazarus asks me if I want
Le 12/02/2021 à 17:39, Bo Berglund via lazarus a écrit :
Application.QueueAsyncCall(@CopyScreenRect(0), 0); // <== ERROR here
I'm not sure, but QueueAsyncCall just need the address of your callback:
Application.QueueAsyncCall(@CopyScreenRect, 0);
The 0 given to QueueAsyncCall will end up a
oops: when it will be called.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
In response to James Richter on fpc mailing list, I made this small
example for displaying an selecting files in a tree. (written on Ubuntu
and tested on Windows)
https://github.com/jsuzineau/pascal_o_r_mapping/tree/TjsDataContexte/tools/FileTree
In your case, maybe your configuration could b
Wonderful !
Thank you very much for all your work and all the work of the FPC /
Lazarus team !
And Merry Christmas for all !
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
Le 25/10/2022 à 22:04, duilio foschi via lazarus a écrit :
The box has the following string preset
http://localhost:3000/
I think you can test directly by typing this url in your browser
(running on the same pc than demorestbridge.exe of course)
--
__
Maybe you could add a buffer in your flow of data, storing the incoming
data ?
When a line ending arrives, you can flush your buffer to Synedit up to
the line ending, keeping in the buffer just the end of the data not yet
terminated by a line ending.
--
_
May be making a custom component based on VirtualTreeView ?
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
Le 23/02/2023 à 11:37, Luca Olivetti via lazarus a écrit :
No, that's not possible, in any case polling isn't a problem: it's the
same application that modifies the table, and it only does the
"refresh" when necessary.
That's exactly a use case for my orm (
https://github.com/jsuzineau/pascal_o
Curious behaviour.
You can find the source of the component list form in your lazarus
installation directory in ide\componentlist.pas. I imagine something is
failing in TComponentListForm.AddSelectedComponent, may be due to
differences in the Designer ?
--
___
Le 24/03/2023 à 21:48, Larry Dalton via lazarus a écrit :
Where Trans_date between beginning_date and ending_date;'
May be it would be better with params ?
"Where Trans_date between :beginning_date and :ending_date;"
and then supposing your TSQLQuery is declared as sqlq :
sqlq.Params['be
Le 27/03/2023 à 09:46, Luca Olivetti via lazarus a écrit :
procedure TUpdateThread.Execute;
begin
while not Terminated do
begin
FWaitForm.ShowProgress;
Sleep(30);
end;
end;
Usually I use TThread.Synchronize to ensure that the graphic code is run
by the main thread.
But it won'
Le 27/03/2023 à 14:40, Luca Olivetti via lazarus a écrit :
The problem here is, if AProc raises an exception, I cannot free the
thread causing a leak.
May be you can create a new exception class specifically for
ExecWithSplash,
instantiate it and put all the information of ut.FatalException i
Considering everything will run on Windows, it could be easy to use COM
/ OLE Automation:
- making your delphi part as COM Server
- connecting as client in your Lazarus app, so you can call directly
objects and functions defined in the Delphi app.
There is a bit of stuff to learn about COM
You can uses pipes too, basically just two files no need of networking,
one for reading (delphi to freepascal), one for writing(freepascal to
delphi).
I made last year a small app to communicate with Audacity
(https://www.audacityteam.org/) using a specific plugin
(https://manual.audacityteam
Unfortunately my lazarus is installed in French , I don't have the exact
label of the menu item in English,
But usually for this kind of problem I use "Nettoyer et construire" in
"Exécuter" menu.
I imagine that in English it's something like "Clean and build" in "Run"
menu.
In this dialog
Le 08/06/2023 à 11:34, Giuliano Colla via lazarus a écrit :
I believe that scaling for different DPI has been implemented with a
shortsighted approach.
It would have been nice at the time of Delphi 1 in 1995 ... ;-)
A few weeks ago I got some havoc trying to port some code from LCL to
Delphi
May be you'll find some information in the log, something like :
cat /var/log/xrdp.log
?
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
I am not sure but it looks like your program is using TLS v1 protocol.
I think that TLS v1 is deprecated and now your SMTP mailserver requires
a newer version of TLS.
May be your SMTP mailserver / Windows Server 2016 has been updated
recently ?--
___
Le 14/01/2024 à 22:32, Bo Berglund via lazarus a écrit :
I assume MailData is the mail body...
2) How can I add Bcc recipients?
In fact I think MailData contains a mail header (with something
likeReply-to: x...@yyy.com) followed by a mail body after an empty line:
https://en.wikipedia.org/w
It's likely because it was written for an older version of the function
IsEmptyStr,
the current one takes an array of char as second parameter.
So I think IsEmptyStr(auxstr,'0') should become IsEmptyStr(auxstr,['0'])
https://www.freepascal.org/docs-html/rtl/strutils/isemptystr.html
--
I think that usually you should have already (installed by apt) a
symbolic link named libsqlite3.so pointing to libsqlite3.so.0.
You can try to create the symbolic link with something like:
ln -s /usr/lib/libsqlite3.so.0 /usr/lib/libsqlite3.so
--
__
Le 10/07/2024 à 21:46, Arí Ricardo Ody via lazarus a écrit :
As for the symbolic link suggestion, I ask in which directory I must
be logged in to execute the creation of the symbolic link.
The following command is written with absolute paths so it can be run
from any current directory :
ln -s
Personally for Windows I just include sqlite3.dll in the directory of my
program.
And I include this dll in my releases on github, for example (in French):
https://github.com/jsuzineau/pascal_o_r_mapping/releases/tag/2024_01_19_jsWorks
(it can run both on Linux with elf or Windows with the exe
Did you try the menu Project / View Project source ?
May be just the source editor window is closed.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
Le 28/10/2024 à 20:46, Carlos E. R. via lazarus a écrit :
The last entry, the "TO:" gets automatically added and is the one you
deleted. It probably will get added again, unless you change a setting.
The funny thing is that it's not automatically you own label.
For me, I had the same behaviou
If you use LAMW, I think you can find the documents directory this way
(assuming var jF: jForm; ):
DocumentsDirectory:= jF.GetEnvironmentDirectoryPath( dirDocuments);
I would be curious if you can open the database this way.
For my programs, due to to the various securities of Android, I neede
May be it would be easier to use LAMW Lazarus for Android module Wizard ?
It can install on Windows all the stuff needed to build applications for
Android with Lazarus.
https://wiki.lazarus.freepascal.org/LAMW
--
___
lazarus mailing list
lazarus@lis
Usually to build the application with LAMW, I use the Lazarus menu
"Run" / "[LAMW] Build Android Apk and Run"
The LAMW application consist of a dll project controls.lpr loaded by the
android java program through JNI.
For controls.lpr, the target OS is Android, target CPU arm.
--
___
I'm not sure, but I guess it would be easier with SynEdit , TSynEdit(
and maybe TSynAutoComplete ?) :
https://wiki.freepascal.org/SynEdit
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
40 matches
Mail list logo