delphi Questions

2

Solved

I'm struggling with a very disruptive behavior in Delphi Alexandria 11.3 IDE editor. When I double-click an identifier, often, but not always, the editor jumps up or down, positioning that identifi...
Birdcage asked 1/10, 2023 at 10:51

5

Solved

Is there really not a TSpinEdit control for floats in Delphi? It looks like there are third party components that supply a control that will work. How do you implement TSpinEdit for floats? I've b...
Santossantosdumont asked 19/1, 2009 at 12:23

3

Solved

In order to make Delphi component/control available for all (currently) available platforms I have to write [ComponentPlatforms(pidWin32 or pidWin64 or pidOSX32 or pidiOSSimulator or pidiOSDevice...
Landan asked 15/12, 2014 at 15:4

6

Not sure what happened to Bold/Eco during the Borland/Codegear/Embarcadero transition but I sure miss it in the newer versions of Delphi. Anyone know of a framework that comes close? If not, maybe...

6

Solved

Is there way of copying the whole array into another array? Other than using a for-loop. Does the move or copy command work for this? I did try but it had an error: "Incompatible types". Should ...
Damnation asked 23/8, 2010 at 7:20

2

I get socket error 10038 at startup. How solve this error?
Stenopetalous asked 29/5, 2022 at 13:42

6

Solved

I have a data structure: data = array of integer; I have filled it from an source = array of byte; with data[x] := Source[offset] or (Source[offset + 1] shl 8) or (Source[offset + 2] shl 16...
Mono asked 29/11, 2012 at 20:32

3

Solved

I am trying to get the difference between two datetimes and display it in string as hh:mm q.parambyname('vstart').asdatetime:= vstart; q.parambyname('vend').asdatetime:= vend; d:= vend-vstart; min...
Outspeak asked 23/10, 2012 at 13:42

3

Solved

Every time I open Delphi and try to load GetIt Packages on the Welcome Page, then I get an error and it doesn't load as can be seen by the image below: Clicking on "Retry" doesn't work. ...
Brisco asked 7/1 at 9:9

3

Solved

Is there a HashSet in Delphi? I know using set can at most hold 255 items. Is there a HashSet in latest Delphi Compiler e.g. XE8, Seattle
Flagwaving asked 4/11, 2015 at 18:50

7

Solved

In Delphi, consider var i: integer; begin for i := 0 to N do begin { Code } end; One might think that i = N after the for loop, but does the Delphi compiler guarantee this? Can one make t...
Fun asked 9/4, 2010 at 21:1

7

Solved

How can a desktop application communicate with a Windows service under Vista/Windows2008/Windows7? The application needs to send small strings to the service and receive string responses back. Both...
Adelric asked 11/8, 2009 at 12:58

1

I have an instance of TVirtualStringTree that formats text of a node in two different ways. The implementation is based on using toShowStaticText in the StringOptions as described in the accepted a...
Chalfant asked 29/11, 2016 at 18:30

3

Solved

I have a bug report showing an EEncodingError. The log points to TFile.AppendAllText. I call TFile.AppendAllText is this procedure of mine: procedure WriteToFile(CONST FileName: string; CONST uStr...
Augmentative asked 29/2, 2016 at 20:18

3

Solved

I'm doing some components and I want to do them compatibles for VCL and FMX. So I have a structure that follows this pattern: General_dpk (with TCustomMyClass) + VCL_dpk (with TMyClass) + FMX_dpk ...
Adjudication asked 2/1, 2013 at 12:3

5

Solved

How can the seconds be removed from a TTime variable without resorting to the extra overhead of using TimeToStr(const datetime:TDateTime; const formatsettings:TFormatSettings) to get the TTime valu...
Bick asked 25/6, 2011 at 4:52

5

Solved

I'm kinda a Delphi-newbie and I don't get how the Sort method of a TList of Records is called in order to sort the records by ascending integer value. I have a record like the following: type TM...
Overnight asked 6/11, 2012 at 13:35

6

Solved

I'd really like to know the various ways I could select a directory with the TOpenDialog, whether it be downloading a new component or using what is provided by Delphi, but preferably using what is...
Detective asked 14/9, 2011 at 20:38

8

Solved

Is there any Delphi D2010 function like PosEx that finds a sub-string inside a string starting from the end of the string? I'm removing all the calls to the FastStrings library and one of the funct...
Squilgee asked 10/10, 2009 at 14:29

1

Solved

I have a Delphi application with an embedded CEF browser and it has stopped working since I updated if from CEF 117.1.4 and Chromium 117.0.5938.92 to CEF 123.0.12 and Chromium 123.0.6312.107. With ...
Semibreve asked 21/6 at 11:26

3

Solved

I'm trying to figure out how to obtain a stack trace after an exception is thrown in Delphi. However, when I try to read the stack in the Application.OnException event using the function below, the...
Bonne asked 8/4, 2013 at 22:18

4

Solved

I don't know what my problem is, but I cannot set the font color in DEx2 for controls like TCheckBox, TRadioButton, TGroubBox, and TRadioGroup. It doesn't matter if I do it in the IDE or programmat...
Abruzzi asked 3/9, 2012 at 13:10

8

I have a Delphi Application that is connected to a SQL Server db using SDAC component from DevArt, we have 200 installations of the software and only to a customer, with some users, I notice the fo...

3

Solved

QUESTION: Is there a programmatic way to prevent Windows 10 from automatically restarting after an update? We work on "mission-critical" software that runs in Windows. In general, it is bad if a ...
Hilar asked 13/7, 2017 at 14:24

4

Solved

got a strange problem: I create a TPanele at runtime and change its color - however, the color is still clBtnFace. Here' the code: procedure TForm1.Button1Click(Sender: TObject); var pnlTest : T...
Kauffmann asked 23/9, 2010 at 12:5

© 2022 - 2024 — McMap. All rights reserved.