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
3
votes
3 answers

TSQLQuery not returning right amount of records

I have a table called Artist which currently contains four records and a TSQLQuery that contains the following statement: SELECT name FROM Artist The table Artist also contains the following records: id name 1 Artist 1 2 …
ple103
  • 2,080
  • 6
  • 35
  • 50
2
votes
1 answer

Implement clipboard operations via menu

I'm developing my first commercial Firemonkey application (also my first commercial application in any language). I have used native FMX controls and also one control from TMSSoftware (TTMSFMXGrid). The keyboard clipboard operations -- Ctrl+X,…
Duns
  • 418
  • 2
  • 15
2
votes
0 answers

Parts of form not getting displayed when visible set to true

My program is in a post release state so please bear with me. Scenario My program is based on multiple layouts for different pages of different function for an office data management system (vehicle maintenance oriented). A major category of those…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40
2
votes
0 answers

How to enable navigation through tabs and enter key in a Grid?

I have employed a TGrid and populated one column with TLabels and the other with TEdits for data entry functions. I want navigation through Tabs and Enter. I have found no such options exposed in the firemonkey grid unlike the VCL one. Can anybody…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40
2
votes
1 answer

TImageviewer maximum size

Does anyone know what is the maximum width and height of a Bitmap in a FireMonkey TImageViewer? I am drawing vector graphics in a TImageViewer. I am only able to zoom up to a certain value then I get a memory exceprion.
Christo
  • 411
  • 7
  • 27
2
votes
3 answers

XE4 Deployment error

Good afternoon all. Apologies if SO isn't the place to ask, I wasn't sure there was an 'errors stack exchange' or such, and whether or not any XE4 users would be visitors there. I'm currently trying out the XE4 trial, and I'm wanting to see just…
Scott P
  • 1,462
  • 1
  • 19
  • 31
2
votes
1 answer

ClientDataset reordens table from Datasetprovider in datasnap,on strings that starts with '

On my Datasnap server I query some records and order them by a stringfield. Strings that start with ' are in front, this is default behaviour. (the database is interbase) 'Aaa 'Bbb Aaa Bbb When i use a tClientdataset and a TDSProviderConnection on…
r_j
  • 1,348
  • 15
  • 35
2
votes
1 answer

Add icons to the tabs of a Firemonkey TTabControl

To add an icon to a TButton in Firemonkey one can add a TImage to the button. But how to add an icon to a tab of a TTabControl? Is this possible?
2
votes
1 answer

DWM Interaction from a DLL

Good morning all. I'm currently attempting to write a small application that's built around the features available through the Windows DWM API (e.g. DWM Thumbnails). One such feature would be the ability to dynamically select an area of the…
Scott P
  • 1,462
  • 1
  • 19
  • 31
2
votes
3 answers

Crossplatform JSON Parsing

Good evening all. I'm currently developing a cross-platform compatible version of my product WinFlare. The issue I'm facing is that SuperObject still isn't cross-platform compatible with Firemonkey. By all means, I used it in the original version of…
Scott P
  • 1,462
  • 1
  • 19
  • 31
2
votes
1 answer

How to implement a close button on every tab of TTabControl in Delphi XE3 FireMonkey 2?

I am trying to create a browser-style TabControl with a small close button on every tab in FireMonkey FM2. Since there are no TTabsheet and TPageControl components in FM2, I could not use the answer from "How to implement a close button for a…
Andrey Prokhorov
  • 890
  • 2
  • 13
  • 25
2
votes
1 answer

How to prevent dragging columns on a Firemonkey grid?

Is there a way to prevent column header dragging (re-ordering) on a FireMonkey 2 TGrid? The THeader instance is private to the TGrid class, and I can't find any other property that controls this. The default of THeaderItem.DragMode is dmAutomatic…
dts_sl
  • 67
  • 6
2
votes
1 answer

CURL as plain URL string

Good morning. I'm developing a small media player with built in support for audio recognition using the Echonest API. I've dealt with API's before and know how to submit and parse results, but the other API's provided simple POST/GET examples in…
Scott P
  • 1,462
  • 1
  • 19
  • 31
2
votes
2 answers

How to programmatically alter Font properties in Firemonkey controls

I have some code that paints a set of controls laid on top of a TImage. I then grab the TImage's MakeScreenshot to save out the file. This now works perfectly. What I am now struggling with is changing the font properties of one or more labels /…
Anthoni Gardner
  • 929
  • 1
  • 9
  • 17
1
vote
2 answers

How to get the tree-view item which triggered a popup menu?

Its a dumb question maybe but I have a popup menu which is linked with many TTreeViewItems. The problem is that the TTreeView.Selected property never gets set on right click. The GetMousePos is prone to returning the next or the previous…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40