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

Creating specific Custom TListBoxItem with given example and trouble with fontColor property

Can someone please guide me in the right direction. I am attempting to create a Custom ListboxItem using Delphi XE4 for a iOS application. My goal output would be something along the lines of the photo above, where as I am currently stuck here…
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
5
votes
1 answer

Firemonkey - updating visual components

We are working with Firemonkey since version 1, and still find difficulties updating components that are currently visible on the screen. There are many 'ways' to request a repaint in Firemonkey, perhaps too many: Applying a style (ApplyStyle…
Etamar Laron
  • 1,172
  • 10
  • 23
5
votes
1 answer

Getting Cocoa function from C++

In the answer to this question: get logged in user the accepted answer uses Delphi code that looks like this to get access to the Cocoa function NSUserName. function NSUserName: Pointer; cdecl; external…
Gregor Brandt
  • 7,659
  • 38
  • 59
5
votes
0 answers

Delphi XE4 shutdown OSX

I'm new to using OSX API by Delphi XE4. So, I don't know how to translate XCode sample to Delphi. Can anybody give me an example of how can I shutdown my MacOS by calling OSX API ? Updated: I got an Apple article…
Hoang Le
  • 109
  • 3
5
votes
2 answers

How to set TPanel transparent?

When placing the TPanel component in designer, it seems it can not be made transparent? There's an opacity option, but that only deails with animations. I want the panel itself to be fully transparent, so I can see the image underneath. (I want to…
Tom
  • 3,587
  • 9
  • 69
  • 124
5
votes
1 answer

Validating XML files against XSD in FireMonkey

I am developing a cross-platform application (for Windows, Mac etc.) and for 32-bit and 64-bit machines. I have lots of XML files which I need to validate against their XSD. Is there any way of doing this in Delphi XE3? I have tried DTD validation…
Padam
  • 117
  • 1
  • 7
5
votes
1 answer

ColorToRGB function equivalent in Firemonkey

Does there exist an equivalent function in FMX for ColorToRGB?
cadetill
  • 1,552
  • 16
  • 24
5
votes
2 answers

How to get current modifier states with FireMonkey on OSX?

With Delphi for Windows, I usually use this code: function isCtrlDown : Boolean; var ksCurrent : TKeyboardState; begin GetKeyboardState(ksCurrent); Result := ((ksCurrent[VK_CONTROL] and 128) <> 0); end; How can I achieve this with FireMonkey…
Whiler
  • 7,998
  • 4
  • 32
  • 56
5
votes
1 answer

How to get screen resolution in Firemonkey XE3?

How can I get the screen resolution in Firemonkey 2 (Delphi XE3)?
Wayfer
  • 63
  • 1
  • 4
5
votes
2 answers

How to get the control under the mouse cursor in onMouseDown event?

I have a TGridLayout filled with some images in a Firemonkey HD Application. In the gridLayout's onMouseDown event I want to get the image object on which the user has clicked, but I have only mouse coordinates. Implementing onMouseDown event for…
iPath ツ
  • 2,468
  • 20
  • 31
5
votes
1 answer

How to create the radial gradient in Firemonkey

I have a FireMonkey form with the following code on the OnPaint event of the form. I was expecting a ball with a radial gradient but I only get a red ball, no gradient. Question is what am I doing wrong. Running it on XE3. If I change the gradient…
rhody
  • 2,274
  • 2
  • 22
  • 40
5
votes
1 answer

Compiling for Mac OS X using Delphi XE2

1) I can only add Windows 64 bit as a target platform. How do I compile for Mac OS X? 2) I want the app to scan through the files on the hard drive and copy them. Do I need permission from Apple to do this? Some sort of license or something? If so…
Max0999
  • 354
  • 4
  • 20
5
votes
1 answer

Animated GIF in Firemonkey

I'm trying to display an animated GIF in a Firemonkey HD form using TImage but I do not see any methods for animation. Using Vcl.Imaging.gifImg is not an option because types differ. Can someone suggest a way to solve this problem or probably…
iPath ツ
  • 2,468
  • 20
  • 31
5
votes
0 answers

Example of Sorting a Firemonkey StringGrid

My basic attempt at sorting a Firemonkey Stringgrid, as couldn't find any other examples. I would welcome any optimisations or other suggestions on best achieving this. My code basically gets the column chosen to sort and with that sort order…
Paul Heinrich
  • 647
  • 1
  • 7
  • 15
5
votes
1 answer

Is multitouch gesture programming available in Delphi Firemonkey iOS apps?

I am interested in using using Delphi XE2 to produce an iOS app. Is there currently any support for multitouch (2-3 finger swipes) using Firemonkey? If so, are there some references or samples available?
user1027169
  • 2,627
  • 3
  • 27
  • 50