Relative Content

Tag Archive for delphifiremonkey

Activating GPS in Android using Delphi

This is my code below which I use to enable GPS in Delphi. The problem is that the GPS automatically engages on the phone ONLY the first time the application is launched right after installation. After that, I always have to turn it on manually.

firemonkey delphi android scrollbar for Tgrid

in Felphi android Firemonkey I use Tgrid to show data from Sqlite but Sqlite have many columns but Tgrid dont show and scroll bar is not visible in tgrid how can i visible scrollbar or use it to show data

How to Serialize an Array of Values in a Delphi FMX File?

I am working with a Delphi FMX application and need to add a new property to one of my components. The property is an array of TAlphaColor, defined as Colors: TArray<TAlphaColor>;. I am curious about how this property would be represented in the component’s paired .fmx file. Specifically, I’m looking to understand if it’s possible to store an array of values like Colors: [125487, 159875] directly in the .fmx file, and if so, how this is typically done.

Control C and Control V in memo in Firemonkey did not work

this event is not working in firemonkey . Why ? procedure TFrameMemoLineCount.mTxtKeyDown(Sender: TObject; var Key: Word; var KeyChar: WideChar; Shift: TShiftState); begin if (Key = vkC) and (ssCtrl in Shift) then begin mTxt.CopyToClipboard; Key := 0; // Prevenir o processamento adicional da tecla end; if (Key = vkV) and (ssCtrl in Shift) then begin mTxt.PasteFromClipboard; […]

TWrapMode = TileOriginal repeats edge pixels?

Asking to verify if this behavior is a feature, so that I don’t get any nasty surprises in the future. I can’t find any documentation on it, but if anyone has any, I’d be grateful.

How to catch the exception stacktrace in Firemonkey mobile app run-time?

Is there anything to easily catch human readable stack traces from exceptions happened on android/ios applications?
I can log exception classname and message. Provided human made log trace (how user went here) helps with getting in situation around where error may occur. But this doesn’t help a lot, only telling that something is happened somewhere here. Even not always possible debug application on real device.