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.

FireMonkey is a cross-platform UI framework for Windows, Mac OS X, iOS and Android providing windows and controls on both 2D surfaces and 3D environments. It uses GPU-accelerated rendering, allowing smooth effects and animation to be applied to controls and other on-screen images, and is vector-based and skinnable, building its controls from a library of underlying primitives. Skins give close-to-native look and feel.

FireMonkey currently supports Mac OS X, Win 32bit & 64bit as well as iOS and Android.

3809 questions
1
vote
1 answer

Reposition image in TImageViewer

i'm building an FMX app for iOS, it has a TImageViewer on a TPanel with the TImageVieweraligned to Contents. I load a bitmap from file into the TImageViewer and i can then pan around and zoom in/out on the image. Works fine. What i want now is a…
relayman357
  • 793
  • 1
  • 6
  • 30
1
vote
1 answer

Why tmediaplayer.CurrentTime not working for Android?

I want to make control audio with tackBar I use this code When audio is playing, my code on timer is If trackbar1.max<>mediaplayer1.duration then trackbar1.max := mediaplayer1.duration; If trackbar1.value<>mediaplayer1.currentTime then …
1
vote
1 answer

How to check the status of BlueTooth adapter (ON/OFF) with Delphi 10.3 (Firemonkey) App for both Android and iOS

I am writing an IOT based (BLE) Firemonkey app and I need to check that Bluetooth adapter is Enabled or not for both iOS and Android. I've found a source here but it is only for android (like many others), but I need a cross platform solution.
Alper
  • 1,085
  • 3
  • 20
  • 39
1
vote
1 answer

How can I make my form full screen with the TForm.FullScreen property?

I am trying to use the FullScreen property of TForm in a FireMonkey app in Delphi, but FullScreen := true doesn't work.
PanosDK
  • 13
  • 2
1
vote
1 answer

FireMonkey control with TabOrder = 0 is not focused at runtime

I have 3 custom tRectangle on a form. When creating the custom tRectangle, I set CanFocus = True;, so the tRectangle can be focused. On FormCreate event, I set the TabOrder to 0 to the first tRectangle, to 1 to the second tRectangle and to 2 to the…
user2383818
  • 709
  • 1
  • 8
  • 19
1
vote
1 answer

disable scroll of scrollbox (FMX, C++)

Where can i find the list of possible values for TouchTracking on a TScrollBox? ScrollBox->AniCalculations->TouchTracking = ?? I want to disable the scrollbox scrolling temporarily. This question shows for Delphi but i'm too inexperienced to know…
relayman357
  • 793
  • 1
  • 6
  • 30
1
vote
0 answers

How to fix "error creating form index out of range" in C++ FireMonkey?

I have this non usual error popping up whenever i open my project (not all projects): error creating form index out of range(25). Must be >= 0 and < 25. I was working with the project before this error totally fine, i really don't know what causes…
Jack
  • 43
  • 4
1
vote
1 answer

How to post data to database immediately after editing is done in a firemonkey TStringGrid

In Rad Studio 10.3, I connect a StringGrid to a database by using LiveBindins Wizard and selecting FireDAC. Everything is fine except below issue: When user edits a cell and presses Enter the value is edited correctly but the new value does not post…
Moj.H
  • 75
  • 12
1
vote
1 answer

Canvas.FillText not working in TGrid.OnDrawColumnCell event handler

I am having difficulty understanding what is going on in a FireMonkey owner-drawn grid I am trying to develop in Delphi 10.3. I have set the Grid1.DefaultDrawing property to False and assigned the following event handler to…
user11935527
  • 101
  • 1
  • 7
1
vote
1 answer

runtime allocation of array (C++, FMX)

i need an array at runtime to hold some x-y coordinate data. It may be anywhere from a few dozen points to several thousands. So, to be efficient i'd like to allocate the array at runtime. I found an example but i can't extend it. Here is what i…
relayman357
  • 793
  • 1
  • 6
  • 30
1
vote
1 answer

Error in FMX.Treeview function TTreeViewContent.GetLastVisibleObjectIndex

I am migrating a VCL application to Firemonkey. It features a couple of TTreeview controls which display folder trees. In the main form's OnCreate event handler the paths of the folders are read from a .Ini file and the treeviews are set up. At…
user11935527
  • 101
  • 1
  • 7
1
vote
0 answers

Delphi 10.3.2 String Resources, when targeting Mac OS 64 bit

I am unable to compile or use additional string resources, when targeting Mac OS 64 bit. Everything is fine for Windows 32 and 64 bit and Mac OS 32 bit. I am adding a resource file (.res or .rc) containing a STRINGTABLE in my .dpr, but the compiler…
Nostradamus
  • 668
  • 6
  • 18
1
vote
0 answers

iOS Notification sound playing in app, although this hasn't been initiated by me (iOS 12 only)

Ever since updating devices to iOS 12, my Delphi application has started playing sound notifications when a specific operation is done in the application. This has not been coded or configured by me. When using the application in iOS 11 or lower,…
Nord
  • 76
  • 7
1
vote
1 answer

How to open default file manager

I use Delphi 10.3 for Android and IOS app. I would like to open the default file manager as it opens for me to click add an attachment, eg in gmail. To take any image from the device I use the TakePhotoFromLibraryAction action. How to do the same…
Olaf
  • 215
  • 2
  • 14
1
vote
1 answer

Getting parameters from IdHTTPServer - Firemonkey

I’m trying to get Dropbox token from call-back parameters but the parameters are always empty. Here is my code: sURL := https://www.dropbox.com/oauth2/authorize' + '?response_type=token' + '&client_id=' + MyAppID…
Parodius
  • 61
  • 5
1 2 3
99
100