52,174
questions
0
votes
1
answer
85
views
How to check if a file or folder is available for moving?
Before moving a group of folders and files, I want to check that all files and folders are not locked for moving.
They may be locked by an external process, they may be running, or perhaps an external ...
1
vote
0
answers
35
views
Connect to MongoDB Atlas using Delphi Firedac Driver?
I am struggling to connect to a MongoDB Atlas database using the Firedac component. I have the MongoDB Atlas connection string but am unsure how to
setup the connection in Delphi. I note that the Data ...
0
votes
0
answers
34
views
DelphiVCL4Python TScrollBox implemented just for x64 [closed]
when I use x32 lib
/Embarcadero/DelphiVCL4Python/tree/main/lib/Win32
then I try to use TScrollBox I find this not implemented in win32 lib
but for Win64 /Embarcadero/DelphiVCL4Python/tree/main/lib/...
0
votes
0
answers
50
views
Correct handling of view change in TGrid
In the TGrid registry I have a BLOB SQL column that I display in TGrid as ImageStyle. Everything works fine, there are no errors.
However, in TGrid I need to change the color of the rows. Selected row ...
0
votes
1
answer
93
views
Problem connecting Delphi client application to service via TCP/IP
I'm trying to connect my client application written in Delphi to a service running on a server using TCP/IP. The service is also written in Delphi and uses TIdTCPServer to listen for connections. When ...
0
votes
0
answers
91
views
Turbo explorer Delphi KeyPressed and ReadKey replacement
Just tried to receive some information about the keyboard when I noticed CRT is not delivered with Turbo Delphi Explorer... It is shipped under conio.h with Turbo C++ Explorer, but not with Delphi ...
0
votes
0
answers
100
views
How to move a group of files and folders while minimizing the number of intermediate errors? [closed]
I need to write code (Delphi or C++ Builder) in which, before moving a group of files or folders, check that all folders and files are available for moving, i.e. not locked by external processes and ...
1
vote
1
answer
68
views
TStringMetaData access by record in Delphi 11.1.5
I want to see the meta data for strings. I defined a record type and a utility class for this:
type
PStringMetaData = ^TStringMetaData;
TStringMetaData = packed record
codePage : word; // -12
...
0
votes
1
answer
85
views
OnKeyPress not triggered in DevExpress component descendant
The code below defines a TcxDBBlobEdit descendantwith its own OnKeyPress.
My issue is that this OnKeyPress ('breakpoint here') never gets triggered.
What am I overlooking?
type
...
1
vote
0
answers
70
views
TPopup menus are reversed from left-to-right to right-to-left after D2007 migration
TPopup menu layouts (Icons/Bitmaps, text alignment, three dots...) are reversed from left-to-right to right-to-left after migrating my source code from D7 to D2007. My system language is English.
I ...
0
votes
1
answer
57
views
How to use Winapi.Dwmapi.DwmSetWindowAttribute API for rounded window corners with Delphi 2007
I found this excellent source code for Delphi XE to make form windows rounded.
How can I convert this code to work with Delphi 2007 and older? It does not compile properly.
My executable also needs to ...
0
votes
1
answer
105
views
Record's field as formal parameter for procedure for Delphi
I want to create a procedure witch makes some manipulation with variable record type. Globally, I have a array of record. I want to sort the array, but by record's field. I want to pass the field as ...
0
votes
0
answers
69
views
Delphi 6 textbox not showing Chinese character correctly [closed]
I have saved some data into a firebird table. The field has been set to GB_2312. When I retrieve the data to display in a textbox where the font keyset has been set to GB_2312, it does not show the ...
1
vote
1
answer
127
views
Debugging a component at Design-time with Delphi 12 doesn't work
I can't debug another instance of Delphi anymore.
Up to Delphi 11, I can build my packages in debug, open my component .pas file and put a breakpoint in the first line of the Create procedure, then go ...
-1
votes
1
answer
334
views
Smart Codeinsight in Delphi 12.2
I'm trying to setup Smart Codeinsight in Delphi 12.2 but when ever I'm calling it I just got "Not Found" as an answer.
Example:
{//************ Find Bugs ***************
Not Found
}
I've ...