Questions tagged [firemonkey-fm2]

FireMonkey FM2 is a Delphi-based business application platform that allows targeting Windows 8 and Mac OS X Mountain Lion using a single codebase.

60 questions
1
vote
1 answer

What settings or scenarios break animations' triggers from firing?

I am trying to animate a checkbox through stylebook by; Making a layout and naming it 'ch_style1' Adding another layout naming it 'layout' ( Align = Left ) Adding a TRectangle ( Align = Left; HitTest = False ) Setting fill color to animate through…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40
1
vote
2 answers

Strange behavior of move with strings

I am testing some enhanced string related functions with which I am trying to use move as a way to copy strings around for faster, more efficient use without delving into pointers. While testing a function for making a delimited string from a…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40
1
vote
1 answer

Firemonkey CUDA/OpenCL

On the Embarcadero website it says it supports this but I haven't seen no demos or examples that come with Delphi. So if this is a farce which it indeed looks like then I bet we will have to wait till XE9 for a proper CUDA/OpenCL…
user1889268
1
vote
1 answer

Delphi Firemonkey 2 .color property

I don't know if it is just me missing something, but I am quite frustrated by this issue. When I try to set the .color property there are no values available such as claBlue. For example: Canvas.Stroke.Color := claBue. Am I missing a reference? I…
Christo
  • 411
  • 7
  • 27
1
vote
1 answer

Get the coordinates of a position on a 3dgrid

I have a Firemonkey form with a 3dgrid component on form set to (0,0,0). I would like to get the coordinates of a spot on the grid when the mouse is clicked. I know how to get the screen position of the cursor, but I need the coordinates on the 3d…
user1868232
  • 623
  • 2
  • 10
  • 21
1
vote
3 answers

Firemonkey: TGrid usage on Embarcadero C++ Builder XE3

I'm try to build a tool that reads data from a database and displays it as a table using a TGrid in Firemonkey. I need to use different types of columns like TCheckColumn and TPopupColumn but can't find any good guide or example on how to use them…
1
vote
1 answer

Show NotifyIcon Popup in front of taskbar in Firemonkey

I am creating a notifyIcon for my program, in the future it would be os independant but for now i am writing the win-32 part. When i show a popupmenu after receiving a WM_RBUTTONDOWN message, i show a menu, but this menu is behind the taskbar. how…
r_j
  • 1,348
  • 15
  • 35
1
vote
1 answer

FM2 Object Repaint Issue

Good evening guys. I'm currently designing a social networking client for Twitter and Facebook in Firemonkey FM2 (delphi) and I'm experiencing a frustrating issue. At present, I've only got the Twitter code in process, but the issue is related to…
Scott P
  • 1,462
  • 1
  • 19
  • 31
1
vote
2 answers

Dynamically create form by name?

Is there a way to create forms dynamically by only their names; The concept goes like this. I have a main form, and by some user selection, a number of predefined forms must be created and docked on tabitems on a pagecontols on the main form. I do…
ManosM
  • 77
  • 2
  • 9
1
vote
0 answers

Delphi Firemonkey TListBox drag and drop

I have a ListBox that I need to contain list of files. I need functionality for user to select one or multiple files and than to drag files and drop them on the ListBox. When files are dropped, Items are created with a file names. This works fine,…
A.Z.
  • 69
  • 3
  • 10
0
votes
1 answer

Insert different Picture object after each row print in Fast Report

I am developing an application in Firemonkey (Delphi XE5) where I am using Fast report 4 for printing data. I am using TFrxUserDataSet to keep data and to print this, I am using MasterData band in fast report. Now, I also need to print TBitamp with…
Padam
  • 117
  • 1
  • 7
0
votes
1 answer

Save TPanel as image on disk

I have a TPanel component on one of my form.This panel has lots of children like TLabel,TImage,TLine,TPanel etc.This panel is used to updated on a timer. I want to capture a screenshot of this panel at any time. When I only use TPanel.MakeScreenshot…
Padam
  • 117
  • 1
  • 7
0
votes
1 answer

How to differentiate between numpad and regular number keys in firemonkey?

I am trying to determine the key that has been pressed in the OnKeyDown of a button (FMX, XE3), but I'm currently finding myself unable to differentiate between numpad keys and regular keys ... Depending on which key I'm pressing I can either use…
DNR
  • 1,619
  • 2
  • 14
  • 22
0
votes
1 answer

Mouseover Image On Buttons In FMX XE2

How to make a mouseover image for button ? I used to make in FMX 2 buttons, and fill it with bitmap. But its owful . I found property IsMouseOver procedure TForm1.Button1Paint(Sender: TObject; Canvas: TCanvas; const ARect: TRectF); begin if…
0
votes
1 answer

Is there a way to forcefully return a call made in a dll?

I have to use a library without source which also does not handle exceptions. Whenever an exception occurs inside it, effectively many of the destructors included never return. In the app, I have included a flag in the exception handlers to detect…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40