3,991 questions
0
votes
0
answers
30
views
How to correctly call an iOS completionHandler block from Delphi without crashing?
I’m trying to implement this iOS delegate method in Delphi:
- (void)URLSession:(NSURLSession *)session
task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
-1
votes
0
answers
65
views
Delphi Firemonkey FMX Linux - Freezes on recent Ubuntu / Wayland Desktop [closed]
I have a real cross-platform app that is also used on Ubuntu Linux (vanilla). Since users were upgraded to 25.10, the app freezes unpredictably. Sometimes, even it was running in the background ...
1
vote
1
answer
122
views
How to remove all rows and columns in a TStringGrid?
I've tried doing:
GridRawData.ColumnCount := 0;
GridRawData.RowCount := 0;
But that fails with:
E2129 Cannot assign to a read-only property
I've also tried doing:
GridRawData.Columns.Clear;
...
1
vote
1
answer
139
views
How to have one axis for two series in TMS FNC Charts?
I've built the following Chart that shows temperatures. It shows the lowest and highest temperatures for each day:
The issue I have is that there are two axis on the left and bottom. I want there to ...
1
vote
0
answers
131
views
How to detect Samsung DeX desktop mode in a FireMonkey Android app?
I'm developing a cross-platform Delphi app using the FireMonkey (FMX) framework, and I need to optimize its layout and behavior when running on Android devices that support desktop-like environments, ...
1
vote
1
answer
141
views
How do I change my mouse icon when I hover over a TSkLabel component on Delphi in FireMonkey
I have a follow up question to one of my previous questions. I have switched over to using Skia4Delphi in my applications, but the properties are very different.
I was using TLabel and setting the ...
1
vote
2
answers
117
views
How to know when Delphi app is run from Proton on Linux?
I have an app on Steam, and normally when I want to know what operating system I am using, then I use TOSVersion.Name from System.SysUtils.
And that works except when I run it through Steam Proton on ...
0
votes
0
answers
130
views
Delphi TWebBrowser Android: display cached website in offline mode
I have a project that requires me to convert a web app into an Android application.
My solution was that instead of recreating the app from scratch, I proposed making a Delphi FireMonkey Android ...
-1
votes
1
answer
115
views
What is the equivalent of `ColorToString` for FMX in Delphi?
In VCL, I could simply call the ColorToString function from System.UIConsts, but this function is VCL only because it uses TColor:
function ColorToString(Color: TColor): string;
begin
Result := ...
0
votes
1
answer
109
views
Delphi FMX: Required local file"...\libisk4d.so" not found. Deployment failed
I added Skia to my project, then I removed Skia from my project and now my app won't compile anymore. this is the error i am getting:
Required local file"\Binary\Android\Release\libisk4d.so"...
1
vote
1
answer
78
views
How can I remove everything from TPaintBox in FMX?
I have made a drawing on an FMX TPaintBox and I want to remove/delete the drawing from the TPaintBox when I click on a button, but how?
I have tried things like this to set the canvas to empty, but it'...
2
votes
0
answers
98
views
E1030 Invalid compiler directive: 'private' in Delphi FMX
I have the next code that works and compiled. The app runs with no errors, but the IDE shows a red stripe and hover popup:
E1030 Invalid compiler directive: 'private'
on code:
type
TForm1 = class(...
1
vote
2
answers
162
views
How to draw a smile emoji on a TPaintBox component in Delphi FMX?
I have a TPaintBox component on my form and I want to draw a smile emoji on it and I don't know how to draw this.
I have been able to draw lines and circles but it does not look accurately like actual ...
2
votes
2
answers
227
views
What is the correct way to set a Delphi (FMX) form as a desktop wallpaper with a video playing in it (to make it like "live wallpaper")?
Application description:
I am working on a project that is similar to Wallpaper Engine (Steam) that lets you play a video as a desktop wallpaper on Windows, but I ran into a problem that I couldn't ...
0
votes
1
answer
175
views
How can I completely hide the mouse cursor when hovering on a component in Delphi? [closed]
I always kind of thought/assumed there would be a crNone option under the Cursor property on components.
But when browsing through the Cursor list in the object inspector, I don't see a crNone option. ...
2
votes
2
answers
134
views
How do I make the corners rounded on TRectangle in Delphi FireMonkey?
I'm making a game in Delphi with FireMonkey and I'm trying to make a button with rounded corners using a TRectangle. It is the play button in the photo below:
Is this possible? How can it be done?
I'...
0
votes
0
answers
128
views
TShadowEffect renders incorrectly after moving Layout between parents
Scenario:
In a new FMX project (no StyleBook), I have two layouts: Layout1 and Layout2.
Inside Layout1, there's a TButton with a TShadowEffect attached.
At runtime, I move Layout1 into Layout2 like ...
0
votes
1
answer
76
views
How to increase the column header font size in TStringGrid for Delphi FMX?
I have a simple TStringGrid on my form.
One would expect that you can simply change the Font Size in the object inspector for the header here:
But that doesn't seem to work at all. No matter what ...
1
vote
0
answers
84
views
Unable to deploy mobile application in RAD Studio probably due to bad SDK installation
Hello for all kind people!
I just starting into mobile development in Delphi. Early I used to use VS. I encountered a problem with mobile deployment to my device. When I open SDK manager I see next ...
0
votes
1
answer
60
views
c++ Firemonkey scroll text in rectangle
I have a c++ builder project in Rad Studio 12.3 to display scrolling text (left to right) on a TViewPort3D. I managed to do this by simply taking only the number of characters that fit in the area ...
1
vote
1
answer
89
views
Trying to implment MacOS PMGetPageFormatPaper in FireMonkey
Trying to get (and eventually set) the paper selection at runtime using Delphi FireMonkey for MacOS.
I've substituted what I think are the correct variables and functions into a routine that I have ...
0
votes
0
answers
133
views
How to create a Delphi FireMonkey custom control with its own FMX design surface (like a TFrame)?
In Delphi FireMonkey, I would like to create a custom control that descends from TCustomControl (not from TFrame or TForm) and have the ability to visually edit it at design time in its own FMX file — ...
1
vote
1
answer
252
views
Simple animation on the form for Delphi with FMX.Graphics
I want the circle to move on the Form in X-direction. This works quite good with the following Delphi code in FMX.Graphics:
procedure TForm1.ButtonMoveFormClick(Sender: TObject);
var
MyRect: TRectF;
...
0
votes
0
answers
38
views
FMX TWebbrowser Print Preview
To print from windows 10 in FMX TWebbrowser i use
WebBrowser1.EvaluateJavaScript('window.print()')
this JavaScript directly show print dialog.
How to show print preview before opening print dialog?
...
1
vote
0
answers
83
views
How can I retrieve the generated *.app file from Delphi's PAServer after macOS deployment?
I'm developing a macOS application using Delphi and deploying it via PAServer. After the build process completes and I deploy my app for the Mac App Store, I noticed that the final *.app bundle (and ...