

toms
Members-
Content Count
72 -
Joined
-
Last visited
-
Google Translate: How to dynamically load local images into the ImageCollection image list with code
-
I installed swim.api and get this message when I try to open it (Android 11)
-
CMD /C Run Command and then terminate CMD /K Run Command and then return to the CMD prompt. This is useful for testing, to examine variables
-
I need to merge these two codes but I have little programming practice.
toms replied to MrCamarium's topic in Network, Cloud and Web
The two procedures "combined". Instead of serverExecute1() and serverExecute2(), give some meaningful names. procedure TForm1.serverExecute1(AThread: TIdContext); var clients: tlist; i: integer; messaggioprelevato: string; begin messaggioprelevato := AThread.Connection.IOHandler.ReadLn; showmessage(messaggioprelevato); clients := Server.Contexts.LockList;; try for i := 0 to connessi - 1 do try TIdContext(clients.Items[i]).Connection.IOHandler.WriteLn (messaggioprelevato); except end; finally end; Server.Contexts.UnlockList; end; procedure TForm1.serverExecute2(AContext: TIdContext); var FileName: string; TFSFileIn: TFileStream; begin TThread.Synchronize(nil, procedure begin Zilename := 'C:'; end); TFSFileIn := TFileStream.Create(FileName, fmCreate); try AContext.Connection.IOHandler.ReadStream(TFSFileIn); finally TFSFileIn.Free; end; end; procedure TForm1.serverExecute(AThread: TIdContext); begin serverExecute1(AThread); serverExecute2(AThread); end; -
Update: A lot of missing spaces inserted Some Br. -> Am. English to make it consistent Some grammatical errors corrected Object Pascal Style Guide - Developers Guide EN.pdf Object Pascal Style Guide - Developers Guide EN.docx
-
There's something messed up in the docx, E.g. missing spaces between words. Compare the pdf with docx:
-
I would stick to the notation of the Delphi sources rather than using others.
-
Use a TSplitter instead?
-
Traybar application, get the last active windows on desktop
toms replied to mvanrijnen's topic in Windows API
CoolTrayIcon doesn't use a timer but WM_TRAYNOTIFY + WM_MOUSEMOVE -
Traybar application, get the last active windows on desktop
toms replied to mvanrijnen's topic in Windows API
Retrieve the foreground window when the mouse enters the tray icon using an "OnMouseEnter" event. https://stackoverflow.com/questions/49896871/ttrayicon-with-onmouseenter-onmouseleave-events -
REST API Server. Why do we need it? How to implement REST API Server? Pros and cons.
toms replied to Serge-Pilko's topic in Network, Cloud and Web
@mvanrijnen Use https://downsub.com/ DownSub is a FREE web application that can download subtitles directly from Youtube, VIU, Viki, Vlive and more -
Googled and found this: https://github.com/project-jedi
-
PackMan DPackMan
-
ANN: Better Translation Manager released
toms replied to Anders Melander's topic in Delphi Third-Party
This is what I came up about 12 years ago: https://www.delphipraxis.net/120614-bezeichnungen-von-shortcuts-aendern-aber-wie-2.html -
Yes, an admin can create it