Image 1 To replicate this you must first compile thedemo programthen enter the following URL inInternet Explorer's location bar: res://[Path to Demo]\Article10.exe/INDEX_PAGE Where[Path to Demo]is the full path to the demo program. Strictly speaking you should "escape" any backslash, sp...
We will use the form'sOnShowevent handler to createTExternalContainer. We will also use this event handler to load the required HTML file, asListing 15shows: 1procedureTForm1.FormShow(Sender:TObject); 2begin 3fContainer:=TExternalContainer.Create(WebBrowser1); ...
The web browsers'sOnCommandStateChangeevent is useful here. According to Delphi's help, this event is triggered when the ability to execute certainTWebBrowsermethods changes. It happens that this event is triggered when, amongst other things, the user clicks the mouse in a document. Note that ...
A demo program to accompany this article (and the relatedarticle) can be found in thedelphidabbler/article-demosGit repository on GitHub. You can view the code in thearticle-02+03sub-directory. Alternatively download a zip file containing all the available demos by going to the repository's l...
I did get it to work! but it only works when you Load, is there any way to do this with a Paste function? I guess if you dont load from file and just paste a picture, the app wont know the file path... hmm.. what do you think about saving the actual i...
How to raise exceptions in Delphi usesSysUtils;procedureRaiseMyException;beginraiseException.Create('Hallo World!');end;
For the beginning start Delphi and navigate toFile > New > DLLto build a new DLL template. Select the default text and replace it with this: libraryTestLibrary; usesSysUtils, Classes, Dialogs; procedureDllMessage;export;begin ShowMessage('Hello world from a Delphi DLL') ; ...
C# code to load image from SQL Server database into a picture box C# Code to Process LAS files C# code to read Windows Event Viewer System log in real time C# code to refresh excel data C# code to send ZPL II commands to zebra printer C# Code to send/receive sms messages through ...
The purpose of the bash script is to run X number of FireMonkey apps through broadwayd (remember 1 app per port) and then use a load balancer make all of the apps accessible via a single port. In order to do this second part there is a Linux package called balance which can do thi...
DUnitX is an open-source unit test framework based on the NUnit test framework, including some ideas from xUnit as well. The RAD Studio integration of DUnitX framework enables you to develop and execute tests against Win32, Win 64, macOS, and Linux in Delphi applications. ...