52,573 questions
1
vote
0
answers
78
views
Panning with TStringGrid (VCL)
I have a TStringGrid with several hundred rows of data in it. I want to enable the user to scroll through the data by panning (ie using their finger to pan up or down) on a touch-screen device.
I have ...
1
vote
1
answer
79
views
TVirtualStringTree: Tab key does not move to right cell in edit mode
As far as I know, for navigating between cells in edit mode, the standard approach in TVirtualStringTree is:
Tab: move to next cell
Shift+Tab: move to previous cell
Enter: end editing and move down
...
Advice
1
vote
6
replies
132
views
TDateTimePicker for months and years
I have a need for a calendar that lets me select Periods.
The constraints I'm facing are :
The Period has to be programatically selectable with a min and max Period that may change depending on the ...
2
votes
1
answer
78
views
Setting FILE_ATTRIBUTE_PINNED / UNPINNED makes file Hidden and System [closed]
I am using Delphi Alexandria (Win64) and I need to programmatically Pin and Unpin OneDrive files.
I am attempting to use GetFileAttributes() and SetFileAttributes() with FILE_ATTRIBUTE_PINNED and ...
3
votes
1
answer
120
views
Delphi FMX - How can I open the Android calendarpicker in darkmode
I have created a little procedure with Delphi 13, to open the system CalendarPicker dialog on Android and was expecting to get that dialog in light mode when Android is in light mode, and in dark mode ...
0
votes
0
answers
124
views
Compile Error only in 64bit Delphi IDE: [dcc64 Fatal Error] F2084 Internal Error
When I compile my app using the 64bit Delphi IDE, then I get errors like this:
[dcc64 Fatal Error] F2084 Internal Error: AV7FF8AB8957FE(7FF8779F0000)-R1996FF0A004-0
and
[dcc64 Fatal Error] F2084 ...
1
vote
1
answer
75
views
How can I draw a square with a linear gradient fill inside a TPaintBox in Delphi FMX?
I'm trying to draw a simple square with a gradient fill using a TPaintBox in Delphi FMX. I can draw shapes and solid colors without any issues, but I can't figure out how to apply a gradient inside ...
-6
votes
0
answers
85
views
Delphi, cannot compile resources [closed]
I run Delphi 4 (Windows 11), therefore I don't have the alternative Project / Resources.
I do have BRCC32.exe in my Delphi root directory (/Bin).
Using the console command BRCC32 ...myFile.rc does not ...
1
vote
1
answer
137
views
Scanlines gets wrong pixel colors
I'm working with this image:
I have working code for drawing rectangles on it, which will be filled with the average color of said rectangles:
This is the code for drawing the rectangles:
...
5
votes
0
answers
204
views
How to correctly return from a x64 assembly procedure when .PARAMS is used?
Suppose I have a procedure like this:
procedure DoSomething;
asm
.PARAMS 11 // This will auto-generate "push rbp + sub rsp,$60 + mov rbp,rsp"
// ...
end;
Suppose I need to return from ...
0
votes
1
answer
84
views
Redemption GetFreeBusy fails with Office 365 (HTTP 401 Autodiscover) in 64-bit Delphi app
I have a 64-bit Delphi application using Redemption 5.27 (64-bit) to retrieve Outlook Free/Busy information.
Environment:
Office 365 (64-bit Outlook)
Redemption 5.27 (64-bit)
Outlook running with a ...
1
vote
1
answer
137
views
Delphi Anonymous methods internal interfaces why created only once in a loop
I know in Delphi, anonymous methods is implemented as interfaces.
After some debugging, I found that at the beginning of the function Test, the anonymous interface object is constructored, and during ...
1
vote
0
answers
50
views
Delphi 12.2 provisioning doesn't save configuration
I'm using Delphi 12.2 on Win11 for a Windows app. I have a generated PFX to use for signing. In Project Options > Deployment > Provisioning for all 64-bit Windows platforms, I set the build ...
0
votes
2
answers
74
views
How to fix BRCC32 Error : Allocate failed
I'm using Delphi 12.
I have a RC file that I put every images of my application inside, and compile it with BRCC32.
Now I'm trying to insert also the main icon file on the RC file, like so :
MAINICON ...
Tooling
1
vote
4
replies
38
views
Delphi 13 macOS app and Drag & Drop launch
How can I launch a macOS application I wrote in Delphi Embarcadero 13, with the drag-and-drop document icon (associated via Info.plist with myAPP)?
Asking to Claude and ChatGPT seems to be a bit ...