See "How to call Delphi code from scripts running in a TWebBrowser" for an example of how we reuse TNulWBContainer. In the following two sections we will develop the code for these classes.Developing a reusable
In code this would look something like this: 1uses 2 System.Win.Registry; 3 4type 5 TDelphiInfo = record 6 Name: string; 7 RegKey: string; 8 end; 9 10const 11 AllDelphis: array[0..25] of TDelphiInfo = ( 12 (Name: '2'; RegKey: '\SOFTWARE\Borland\Delphi\2.0'), 13 (...
1) Start Delphi, and followComponent -> Import ActiveX control ...,and you will see: 2) In theImport ActiveXdialogue box, selectXChartfrom Ultimaserial 3) Click theInstallbutton, thenOKs to install XChart control to ActiveX tab to be used in Step 7) 4) Repeat 1) to 3) to install ...
If you don't specify the ResourcePath, Soluling code will try to find the file from directory returned byTPath.GetDocumentsPath(Delphi's RTL code). The directory is platform specific: <applicationname> is the filename of your application without the extension In addition to the multilingual re...
Download free sample Excel add-in in Delphi with complete source code Add-in Express Toys toolbar Add-in Express Toys adds to MS Excel a new toolbar with several buttons: The buttons are: Shows Add-in Express Toys About window. Enables/disables "wrap text" for the selected Excel cells. ...
You can find Delphi code samples inGitHub Repositories. Search by name into the samples repositories according to your RAD Studio version. How to Use the Sample Navigate to the location given above and openIFDPhys_Async.dproj. Press F9 or chooseRun > Run. ...
6. Place this new pascal code inside a create constructor for your component. Within the constructor , group object sections under the appropriate sub-component creator. Let's use an example to illustrate these steps. We'll make an OK/Cancel/Help button combination. Inside Delphi, the layout ...
Diesel technology needs to be high quality. That's why Delphi Diesel adopted the MISRA standard early on. They ensured compliance with MISRA through manual code reviews and syntax checkers. But they were missing the most efficient and effective compliance tool — astatic code analyzer. ...
ProDelphi measures the runtime of Delphi programs. If a program is too slow, ProDelphi gives the necessary information to optimize it. The principle of source code instrumenting , a sophisticated correction algorithm and the unique granularity of 1 CPU cycle guarantee to get correct...
document object we must have loaded a document into the browser. This means we can't use this code on the web browser control until a document has been loaded. The simplest way to ensure this is by navigating toabout:blank. We can do this in the Form'sOnShowevent handler which we add...