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
6
votes
1 answer

why MessageDlg show only "OK" button under windows?

With delphi 10.2.2 firemonkey, under windows, when i do : MessageDlg('Are you sure you want to undo the last operation ?', // const AMessage: string; TMsgDlgType.mtConfirmation, // const ADialogType: TMsgDlgType; …
zeus
  • 12,173
  • 9
  • 63
  • 184
6
votes
1 answer

Custom drawing of TCustomListbox items

I'm rewriting a VCL component showing a customized TCustomListbox to Firemonkey in Delphi 10.2. The customization used an overridden DrawItem, basically adding some indentation and setting the text color depending on the item text and…
maaartinus
  • 44,714
  • 32
  • 161
  • 320
6
votes
5 answers

How to make a function which use TBitmap work for FireMonkey and VCL?

On firemonkey TBitmap is Fmx.graphics.TBitmap but on VCL it's VCL.graphics.Tbitmap. Their interface are very similar, and i want to create for example this function function resizeBitmap(const aBitmap: Tbitmap; const w, h: integer); As the code in…
zeus
  • 12,173
  • 9
  • 63
  • 184
6
votes
1 answer

How to change the color of active TAB in a TabControl, in Delphi

How to change the color of active TAB in a TabControl (on FireMonkey) as shown below?
wBB
  • 821
  • 1
  • 18
  • 39
6
votes
0 answers

How to create FMX.Graphics.TBitmap with specific pixel format?

Probably I am missing something, but I can't find a way to create FMX bitmap with a specific pixel format. To be more specific, I need to create FMX.Graphics.TBitmap with pixel format BGR_565. The Constructor doesn't have an option to define…
Andrei Galatyn
  • 3,322
  • 2
  • 24
  • 38
6
votes
0 answers

Delphi FMX - Virtual Keyboard in Android covers control (invalid keyboard height)

I have created a simple FMX form (in Delphi Tokyo 10.2.1) with 3 controls on it: TLayout (LayoutKbd) - aligned to the bottom of the screen. Height 1. TRectangle - aligned to bottom (above the TLayout). Height 5. TMemo - aligned to client. In the…
Rohit
  • 909
  • 1
  • 9
  • 20
6
votes
1 answer

Get TextSettings.Font.Style property with GetObjectProp using Delphi Tokyo 10.2

I'm using Delphi's GetObjectProp function to get the properties of the form components, I get all the properties of several components, but I can not get the TextSettings.Font.Style (Bold, Italic, ...) property of components like TLabel for example.…
Anderson
  • 363
  • 1
  • 3
  • 10
6
votes
1 answer

Delphi Firemonkey TWebBrowser use WebRTC in Android, iOS & MacOS

Already created a post for this on Delphi TWebbrowser to use -enable-media-stream which yet to receive any comment or answer. So I make a different question. How can I use WebRTC using TWebBrowser in Android, iOS & MacOSX? In Windows I used…
shariful
  • 455
  • 1
  • 9
  • 21
6
votes
5 answers

Firemonkey hide overflow of round corners using stylebook

In firemonkey I am trying to make a progressbar using rectangles with round corners. The simplest case is a rectangle (the progressbar) and the second rectangle inside it (progress till now). Attached a simple example is provided. Progressbar with…
JvA
  • 63
  • 7
6
votes
3 answers

Weird values for math expression

I am developing a game that works on Windows and Android but it has an issue that I cannot solve. Basically I have a 4x5 grid with some buttons and these buttons are filled each second with a random number that must be 2, 4 or 8. If you tap on two…
Alberto Miola
  • 4,643
  • 8
  • 35
  • 49
6
votes
1 answer

Game-Loop in Firemonkey for Android

im currently making a 2D game in Firemonkey for my Android phone using some TImage Controls and controling their positions and angles. Simple as that. I tried to use my normal way of looping, which works well/flawless in Windows but fails on…
KoalaGangsta
  • 397
  • 1
  • 17
6
votes
1 answer

Delphi connect to online sql database

This question may be very easy but I really cannot find a real answer online. I already know that I can connect to a sqlite database stored in my computer with FireDac but now I want to move on an online sql server. I own a domain with a sql server…
Raffaele Rossi
  • 2,997
  • 4
  • 31
  • 62
6
votes
2 answers

Firemonkey: TWebBrowser not shown when using it in form with BorderStyle None

I am developing a Firemonkey application in Delphi XE8 and found the following situation: I need to show a small webpage in a small form with only a TWebBrowser control with Align:=Client and Form BorderStyle = None but for some reason in Windows…
Miguel Febres
  • 2,153
  • 2
  • 21
  • 31
6
votes
2 answers

Open file manage and get selected file

Using Delphi XE 8 and building Android app, can I browse files in the device by opening a certain file manager app installed on the device and then get back that selected file name and path ?
zac
  • 4,495
  • 15
  • 62
  • 127
6
votes
1 answer

Why does Delphi XE7 change PNG image on every FMX form save?

I have a form with many custom firemonkey components where each contain multiple bitmaps (loaded from PNG image files). Every time the form is saved, the binary data of the PNG images change in the FMX file! This messes up my version control log…
Hans
  • 2,220
  • 13
  • 33