Questions tagged [firemonkey]
FireMonkey(tm) is the cross-platform GUI framework developed by Embarcadero Technologies, a part of Idera Inc. and is a part of the RAD Studio development tool.
3,835
questions
0
votes
1
answer
48
views
FMX TrackBar Control issue/bug?
Ok - I'm new to Delphi and FMX (been 30+ years since I've programmed in Pascal).
I've downloaded Delphi 11 Community Edition and have written approx 1800 lines of functional code since Friday night.
...
-2
votes
0
answers
59
views
FastReport FMX, ExportTppdf and Arabic char [closed]
When i try to export to pdf a report generated by fastreport fmx (windows & Linux), the arabic words shows reverted and characteres disconnecteds.
I look for solution for arabic characters in ...
1
vote
1
answer
83
views
Selection and Drag with TComboBox
I'm using FireMonkey in Delphi 11.3 Alexandria.
I have a TComboBox on my main form. I'd like to allow the user to select an item from the list, and then drag that item to another control on the form (...
0
votes
2
answers
109
views
Combobox data transfer
I have created a firemonkey app for windows with many components-editbox, label, rectangles, layout and a database in sqllite. I want to transfer combobox data to database table but failed. Anyone ...
1
vote
1
answer
105
views
How do I access the ListBox of a TComboEdit in FireMonkey?
I can easily access the ListBox of a TComboBox to change its style properties in the OnEnter event, like this:
combo_box->ListBox->StylesData["shadow.Softness"] = TValue::From<float&...
0
votes
0
answers
60
views
Can not load Skia.Package.FMX270.bpl?
Delphi 10.4 / Windows 10
I update Ski4Delphi-3.4.0 to Skia4Delphi-5.0.0 by GitIt Package Manager.
While reopening Delphi 10.4, it shows the Error :
Can't load package C:\Users\mitch\OneDrive\document\...
1
vote
0
answers
125
views
Hand Cursor pointing to button
I’d like to achieve a visual effect where the mouse cursor appears as a hand (or pointing finger) that always points toward a specific button on the screen. This behavior should persist even when the ...
1
vote
0
answers
83
views
How to Create a Soundboard That Plays Audio Through the Microphone in a Voice Call?
I’ve been diligently searching for a solution on how to play audio (specifically audio files) through the microphone, but so far, I haven’t had any success. My goal is to create a soundboard – ...
1
vote
1
answer
68
views
Having Trouble Receiving Windows Messages in a Firemonkey Application. Like MM_WOM_DONE
I'm trying to translate a working VCL example to Firemonkey and cannot get MM_WOM_DONE message working for over a day. How do I fix the "Done" procedure to receive the MM_WOM_DONE in ...
0
votes
0
answers
76
views
Issue with Delphi FireMonkey Visual Component Integration [duplicate]
I have developed a class that I intend to use as a visual component within the Delphi FireMonkey framework. After installing the class via a package and adding the visual component to a form, ...
0
votes
1
answer
57
views
Restclient Set an Array Property
I am trying to create a RestClient at runtime, One of the properties I want to set seems to be a Bool Array. RestClient.RedirectsWithGET Below is the properties of RedirectWithGET that I want to set ...
2
votes
1
answer
105
views
Using OpenCV for Android in Delphi throws an error on using JList
I would like help with using OpenCV for Android (Git: https://github.com/CarlosHe/OpenCV-Android-Firemonkey), Contours example.
I don't know how can I use contours list (JList)?
I would like to loop ...
2
votes
1
answer
93
views
How to run code when a TFrame is created?
I need to run code when a TFrame is created, not when the frame shows, or when the parent form is created. I don't see any event handler for OnCreate for my TFrame.
How would one then be able to run ...
0
votes
1
answer
25
views
Styling menu size with FireMonkey
I am trying to increase the size of a the drop-down items in a TMenuBar menu using FireMonkey on Windows platform (because when using a touch-screen it is difficult to press the right menu item).
I ...
1
vote
0
answers
78
views
Delphi 11.3, iOS: Managing application settings
Is it possible to manage iOS application settings using Delphi?
Different applications have a different set of default user settings on the phone.
For example:
I'm interested in these settings
How ...
1
vote
1
answer
42
views
Equivalent to HorzCenter in order to horizontally center a panel in TMS Web Core?
In FireMonkey, there's a HorzCenter option for the Align property on most visual components.
What this does is it horizontally centers the component as well as sets the height to 100%.
In TMS WEB Core,...
2
votes
0
answers
66
views
Delphi 11.3 compiler directives for "Development" and "Application store" modes
Please tell me the Delphi 11.3 compiler directives for development modes and the application store,
if they exist.
A switch is needed for different logic.
Development is carried out in the FireMonkey ...
1
vote
1
answer
110
views
How do I loop through all pixels on a TBitmap and get the pixel colors?
I'm trying to loop through all the pixels on a TBitmap image and then display all the colors in a TMemo component.
I have a simple GUI with a TImage that contains the image that I want to loop through ...
2
votes
1
answer
63
views
How can I get the width and length of a Picture in a Timage Component in Delphi Firemonkey
I'm using Delphi RAD Studio 11.3 with Firemonkey. When I place a TImage component on a form and load a picture into it, the bitmap is automatically resized to fit the TImage component. That's ...
-1
votes
1
answer
119
views
Trouble inserting text value into HTML input with TWebBrowser.EvaluateJavaScript()
I use TWebBrowser to insert data into a web form. My application is written in Delphi FMX and runs on Android. The element type text is not inserting the value string.
HTML:
<input
type="...
0
votes
1
answer
94
views
TFloatAnimation to fade out a pricture not working together with a TMonochromeEffect
For a Delphi 10.2 Firemonkey Windows application I would like to apply a TMonochromeEffect and multiple other effects to a picture. I use TLayout containers as described here: https://docwiki....
1
vote
1
answer
118
views
Wrong WindowState when form is Minimized
I have an issue when my MainForm isn't visible.
I reproduce it with a TForm and a TTimer (interval 5sec).
The timer method changes the location of the MainForm:
Timer.Enabled := False;
Application....
0
votes
0
answers
142
views
Delphi - TTakePhotoFromCameraAction - App crash API 33
I want to give camera authorization with the native android Popup and click "Yes".
procedure TFormModuleCreationFraisDivers.btnTakePictureClick(Sender: TObject);
begin
// Demande les ...
0
votes
0
answers
29
views
Android modify text on screen within a loop at runtime
I am trying something as basic as pressing a button to execute a loop and display on the screen through the Text component, the value of the loop at each moment:
void __fastcall TForm2::...
0
votes
1
answer
39
views
Delphi iOS uisupportedinterfaceorientations faill to transport
When transporting the .ipa file generated by Delphi 11.3 to macos ventura 13.5.1, and defining "orientation" > "enable custom orientation" > "portrait" in the ...
0
votes
1
answer
38
views
capture keystrokes (special keys [KEYCODE_BUTTON_L1 ..] on zebra handheld barcode scanner with delphi fmx (android) application
i need catch special keys (KEYCODE_BUTTON_L1,KEYCODE_BUTTON_R1 ..) on zebra handheld barcode scanner with delphi fmx (android) application.i use delphi 10.4.2 .
but onkeydown not working.
onkeyup ...
0
votes
0
answers
229
views
Delphi - Permissions not granted Fmx
I have an issue with my project, so I decided to test on sample gave by embarcadero :
https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object%20Pascal/Mobile%20Snippets/CameraRoll
When I ...
1
vote
1
answer
79
views
Input verification error message is not working
I am trying to create a procedure that shows an error message if the input doesn't match the condition.
Here is my code:
procedure TForm_Main.Input(Edit: TEdit; I: Integer);
var
Error_Text: TLabel;
...
0
votes
1
answer
86
views
Migrating application from VCL to FMX in Delphi [duplicate]
I'm migrating my application from Delphi VCL Application to FMX and I'm stuck in this piece of code where I should drag Image1 beyond the edges of the Form, but the same code doesn't have the same ...
1
vote
0
answers
85
views
TFloatAnimation leaving "afterimages" when dynamically creating components
I am having issues with the following code:
procedure TForm1.Button1Click(Sender: TObject);
var Rectangle:TRectangle;
Animation: TFloatAnimation;
begin
Rectangle := TRectangle.Create(Self);
With ...
1
vote
1
answer
101
views
FMX get Month and Year from calendar after changed in Dropdown in TCalendar
Using the TCalendar, it has a option on top of calendar for previous month , next month buttons. Then it has a dropdown for month and a drop down for year. I cant seem to find out how to get this ...
0
votes
0
answers
71
views
How to call requestConnectionPriority correctly in FMX for Andoid BLE?
I can't get requestConnectionPriority called correctly in Delphi Alexandria 11.3 FMX for Andoid BLE?
I actually assumed that the following code is sufficient to get the requestConnectionPriority.
...
3
votes
1
answer
113
views
Adding Components at runtime to GridPanelLayout
I am trying to add a group of components at runtime to a GridpanelLayout. In this case 4 sets, each set is a Tlable Tbutton Tedit Tbutton . Each Component should be in 1 row and each in its own ...
2
votes
1
answer
96
views
Define Grid Panel Layout Size style property
I am trying to add a TLabel, TButton, TEdit and another TButton to a TGridPanelLayout. I was not sure if sizestyle auto was going to be the best or not so wanted to test it. I make my components at ...
2
votes
2
answers
50
views
FireMonkey: form embedded in a form embedded in a form
I have three forms: Form1 in which is embedded Form2 in which is embedded Form3.
The first level of embedding works, the second not.
In Form1 I have a TPanel (Form1Pn) and a button with this code in ...
0
votes
0
answers
67
views
How to replace global keyboard presses on macOS in Delphi with FireMonkey?
I'd like to build a Delphi FireMonkey application for macOS that can detect when I press 2-4 keys simultaneously, and then replace them with a full word.
For example, when I press P + E together, I'd ...
2
votes
1
answer
144
views
Delphi - Open a file with default Application in under iOS or show App picker
I am trying to open a file with my app. The File is transferred via a Web service and saved in a local Database, BASE64 encoded. When I show the file in my App, I want to use the default Application ...
0
votes
0
answers
56
views
Firemonkey keyboard not sugest password
I would like to know if there is any function in Delphi FMX to show the saved passwords of an application on the keyboard when the user is in the password field?
I did several searches and found ...
0
votes
0
answers
75
views
error "No mapping for unicode character exists in target multi-byte code page" Delphi 11 using TNetEncoding.Base64.Decode
I know that is a common problem but i heaven't found any solution.
I have an event that encode a string
'MyPassword123!' := TNetEncoding.Base64.Encode(edPassword.Text);
i need to decode this string
...
1
vote
0
answers
30
views
Transparency level algorithm is so different in FireMonkey (FMX) applications under Windows and Linux
I'm wondering why the transparency level algorithm is so different in FireMonkey applications under Windows and Linux.
Look at the screenshot.
Under Linux (Ubuntu 22.04.1 LTS), the transparency level ...
1
vote
1
answer
76
views
Extending TInterpolationType in Delphi's TAnimation
I am working on a Delphi application using the FMX framework and I am trying to extend the TAnimation class to add my own custom interpolation algorithms. The TAnimation class uses an enumerated type ...
0
votes
1
answer
106
views
FMX app crash when TLocationSensor active
Delphi 10.3, Android API: 28, Phone: Samsung Galaxy A52S 5G
I have create a Blank FMX Application. The LocationSensor only the form. (Active := True)
User permission added: Access coarse location and ...
1
vote
1
answer
90
views
Delphi function SetProperty (ComponentName: string, PropertyName: string, JSONValue: string): boolean;
How would I go about to write a function that takes the name of a component and property and a JSON value string and populate that component's property with the value dynamically?
The property can be ...
0
votes
0
answers
258
views
Delphi 11, FMX, open the file knowing its Path
I am writing a small application for Android in Delphi. Multiple forms with data and the ability to attach files or take a photo. After filling in the content, I need to send it to the server. All ...
0
votes
0
answers
51
views
How do I add placeholder text for a Memo in a Python FMX GUI App?
When using TextPrompt on my Edit like in this answer, then it works, but using TextPrompt for my Memo does not work. When using it on my Memo, I get an error:
AttributeError: Error in setting ...
2
votes
1
answer
182
views
Highlight Cell in FMX.TCalendar based off dates
I have seen this post about how to highlight the cell but I cant find a DRAW in the source for FMX.TCalendar:
is there a way to highlight cell/s in a TCalendar?
What I am wanting to do is to be able ...
0
votes
1
answer
102
views
Using threads in firemonkey frames
There is a main form, when you click on the button, a frame is loaded into the form.
Button code:
procedure TMain.ButtonObjectsClick(Sender: TObject);
begin
TFrameSystems.Execute(LayoutMain,
...
0
votes
1
answer
117
views
Simply stretching an image on any device with Delphi and Firemonkey
I'm working on a quite simple Delphi app using Firemonkey. My customer has a huge number of different devices and screen sizes. For a technical image, I use an TImage component (client aligned) and ...
1
vote
2
answers
78
views
Changing hover color of a TButton in a C++Builder Firemonkey program
Is there a way of changing the mouse hover color of a styled TButton in a C++Builder Firemonkey app for Windows?
Eg: I have a TButton on a form that uses the AquaGraphite style. The button is a start /...
0
votes
0
answers
34
views
Firemonkey Android App for GPS location crashes shortly after location update
I have an Android app written in Firemonkey (Delphi 11.1) that requires the GPS accuracy to be logged as well. I managed to get the GPS information from Android using the AndroidAPI.JNI ...