Category "delphi"

Access FMX TListView TListViewItem

Is there a way to access the different items configured to a FMX TListview's ListViewItem component below the ListView rows are filled? I have a TListView set t

Sqlite running total fails when executed from Embarcadero Delphi

I have unsuccessfully tried to execute a SELECT from inside Delphi XE7. The same query perfectly works when run from inside SqliteExpert (or any other similar a

Connecting Delphi to a online database

I have a project where we need to create a application for capture infomation from a 'tournament', for example a soccer knock out tournament where you have to

Get all dates within a date range

If I have a given date range (DateFrom and DateTo), how can I get all the dates within the date range?

How to change the font size in Delphi 11 IDE?

My English is not very good, a photo will be more efficient. I cannot find or manage the "complementary" Windows font on Delphi 11.

Declare const with variable values

in other PL we can declare const Test = 'my test '+inc(someVar)+' is work'; how to simulate this in delphi? my delphi example may be like that: const Msg = 's

Delphi 11.1 install freezes Installing "Core common Files Enterprise features", why?

RAD Studio 11.1, trying to install Delphi. I have previous installs of Delphi 10.4 and 10.3. I have an enterprise license. I am installing on windows 11 Pro, 2

Spring4D - How to resolve from container with TComponent parameter to auto factory

For an example I would like to resolve a class passing in a TComponent and TNotifyEvent such as below but the base constructor of TObject gets called and not of

Trying to use Edgewebbrowsers SubscribeToCDPEvent

Delphi has a demo with EdgeBrowser I am trying to Subscribe to DevToolsProtocol using the follow. EdgeBrowser.SubscribeToCDPEvent('Log.enable'); EdgeBrows

Clicking on HTML element in Delphi TEdgeBrowser?

How can I "click" on the following HTML element via Delphi code? <div id="card" class="ev_tab_title display active " draggable="true" tabindex="0" title="Boa

Retrieve values from database to StringGrid

In connection with my previous question I've successfully save string values in StringGrid to my database in one column. Now I want to retrieved the values from

Delphi 11 - scaling and font size problems

I have a VCL application that works fine with D10.4. Created with D11, all elements of the form are displayed greatly enlarged at runtime. Depending on the proj

Error when accesing binance API with Delphi

I am trying to do a small application (hello world for start) for accesing binance API with Delphi 10.3 using TRESTClient. Here is the code: procedure TfrmMain.

Spring4d How to make IEvent handle reference to procedure?

when implementing an Event with the definition below Spring4D will add and invoke method but will not remove handler ( with IEvent<TaskItemChangeEvent>.Re

Self deleting button

I have a TScrollBox with a bunch of TPanels with some TButtons generated at runtime. I need to delete the TPanel when one TButton is clicked but doing that in O

Byte to Varbinary(max) to Base64

Ok so i generate an img in c# and save it as follows: ... using (MemoryStream ms = new MemoryStream()) { bitMap.Save(ms, System.Drawi

What is the difference between TADOQuery and TADOTable?

What is the difference between TADOQuery and TADOTable? first example int number = 0; Query->SQL->Clear(); Query->SQL->Add("SELECT number FROM Param

Disabling Security in TEdgeBrowser

I've seen examples in C# where people disabled security (so the user doesn't have to click continue on cert errors) in WebView2 by changing the CoreWebView2Envi

Disconnect socket at AcceptExHookProc

i'm trying disconnect a socket at AcceptExHookProc routine. i hooked AcceptEx at .dll and injected at .exe app who i want disconnect socket if ip connected at s

Dialogs.res, Controls.res not found

Both files were not found during the compile process on one dedicated system with Delphi 10.4 and Windows 11. The complete project has been compiled w/o problem