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 base class Recall that this class, TNulWBContainer, will have all the features...
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 ...
You are welcome to read the component code if you are interested.Another complication is that when a window is maximised Delphi updates the Width, Height, Left and Top properties of the form to the window's maximised size and position. This means that closing a maximised window stores the ...
If you run into this problem note that it is a feature of Windows, not a bug in the code! You can read more about the problem on this Microsoft forum Here is a step by step guide to what we need to do in a Delphi application to handle dropped files: Use the ShellAPI unit to ge...
Internationalize your application. Delphi only: Configure your Delphi project to create a DRC file at the same time you build the project.Once you have done the above steps, you can create a Soluling project file.Create a projectStart Soluling. Click New from File or Files button in the ...
Create a Soluling project Start Soluling. ClickNew from File or Filesbutton in the main view or drag and drop your Delphi project file (.dproj) on the main view. Soluling start theProject Wizardthat collects the information needed to create a new Soluling project. The first sheet of the...
[win 10, c#] Interop - Generic way to know if a window is Minimized, Maximized or Normal? [Y/N] Prompt C# \r\n not working! \t is not working but \n does #C code to Read the sectors on hard disk 1>CSC : error CS5001: Program does not contain a static 'Main' method su...
procedureTForm1.Button1Click(Sender:TObject); var DelphiPoint:TPyPoint; p:PPyObject; begin p:=PythonType1.CreateInstance; PythonEngine1.CheckError; DelphiPoint:=TPyPoint(PythonToDelphi(p)); DelphiPoint.X:=10; DelphiPoint.Y:=20; PythonModule1.SetVar('myPoint',p); ...
TheLiveBindingsbutton usesTLinkFillControlToFieldto fill the list view using LiveBindings. TheFill in Codebuttonuses a for loop to fill the list view with items created at run time. Check out the full source code for the ListViewMultiDetailAppearance projects for Delphi and C++Builder ov...
I have a main window and a few child windows. If I click a button on the main window, I must set the text of Static Text on the child windows.I have tried to cast it to CWnd but it still don't work. this was done on the OnInitDialog :...