firemonkey

Is there any way to add a hint or tooltip with FireMonkey?

瘦欲@ 提交于 2019-12-21 12:21:52
问题 I've earched for it but couldn't find anything. Is there any way to add a hint or tooltip with FireMonkey? Are there any components available that enable this? Ideally I am looking for something like this (a callout type tooltip): To the moderators who have placed this question on hold: I am looking for lines of source code on how to achieve this, not a software to buy/use. There are currently (AFAIK) no source code components that enable doing this, so there is no risk of "opinionated anwers

Details of what features FireMonkey (FMX) inside the NEW Delphi Rad Studio XE2 contains?

一个人想着一个人 提交于 2019-12-21 07:37:27
问题 I've heard that Delphi's NEW Rad Studio XE2 has something called FireMonkey that will allow the same code to build Windows 32, Windows 64 and MacOS applications. If this is true, this is huge. Where can I get the technical documentation that talks about FireMonkey? EDIT: I'm interested in the MacOS. Several people have asked me when I'm releasing a Mac version of my software and I keep telling them I'm not. I asked this question back in March (4 months ago) and no one said anything about

Is there any Delphi XE2 styles gallery?

狂风中的少年 提交于 2019-12-20 09:55:51
问题 In XE2 there is a new function : 'styles', for VCL( .vsf) and Firemonkey ( .styles), and some are provided in C:\Program Files\Embarcadero\RAD Studio\9.0\Redist\styles directory. As it seems to be easy to create a new style, is there any 'styles Gallery' Web site or blog somewhere ? 回答1: No, for the moment there is no such thing like a gallery of styles for FireMonkey or VCL styles. But if you want to create you own try these entries in my blog which show an easy way to create/modify new VCL

What has happened to ComboBox.Sorted := True; in Delphi 10.2?

故事扮演 提交于 2019-12-20 06:39:55
问题 Having recently received a 'Tumbleweed' badge for my last question, I am not sure whether I should be asking any more questions, but here goes. I am populating a TComboBox with items from a sqlite table and this works fine. In my previous version of Delphi I was able to use ComboBox1.Sorted := True; to sort the items, but this seems to have disappeared in Delphi 10.2. I can sort the items in the table by applying a query and then populate the TComboBox from the sorted table. However, for

Developing new TEditButton types requires dclfmxstd package which does not exist as dcp

核能气质少年 提交于 2019-12-20 06:29:07
问题 I am using Delphi Berlin Enterprise and I need to extend some functionalities of the TClearEditButton and TDropDownEditButton. So I developed my own TMEClearEditButton and TMEDropDownListEditButton. They are subclasses of the standard FireMonkey ones, so I used the FMX.Edit unit. I did some test by creating the buttons by code and had no problems up to here. Problems started when I decided to build a designtime only package to have the possibility to add the buttons to edits directly in the

on delphi/android how to draw a TbitmapSurface on a Canvas?

落爺英雄遲暮 提交于 2019-12-20 06:07:08
问题 Under delphi (and under firemonkey/android), What is the most fastest way to draw on a Tcanvas a TbitmapSurface ? I try to use TTexture like MyTexture.Assign(aBitmapSurface) and later do TCustomCanvasGpu(Canvas).DrawTexture but MyTexture.Assign(aBitmapSurface) have 2 main drawbacks : it's must be done inside the main thread (i don't know why else we have black screen) it's relatively slow operation 回答1: I do not use/code for Android so read with extreme prejudice. As Delphi uses VCL so I

Deleting an FMXobject inside its event handler

二次信任 提交于 2019-12-20 05:44:28
问题 I have the following components, tncrdragdata ( tframedscrollbox ) tdragdata ( tgroupbox ) The main Idea is to combine them and use them as a list box (I need it this way). The groupbox contains five tedit , one tcombobox and one tbutton . The problem is when I try to free the tdragdata inside its event handler. I use the FreeNotification method to relocate the group boxes in the framedscrollbox . The problem is that the overridden notification method is executed twice for some reason I don't

Why TText Trimming does not work when WordWrap is enabled in Firemonkey?

假如想象 提交于 2019-12-20 05:41:38
问题 I'm using Rad Studio 10.2.3. In my form when I have a TText with long content, I set WordWrap property to "True" and Trimming property to "Word". In design time everything looks good but in runtime and in android platform there is a problem as shown in the picture: What should I do to avoid this? Update: I installed RAD Studio 10.3 Rio and tried again. Now the meaningless characters are gone but the trimming problem is still there, just like the image below: 回答1: This is a known bug and it

Firemonkey: TGrid usage on Embarcadero C++ Builder XE3

佐手、 提交于 2019-12-20 04:27:12
问题 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 in C++ Builder. Any way, I managed to understand the usage of the TStringColumn,TProgressColumn setting the Value of the cell in the TGrid's event onGetValue. Does any one of you know how to set the Value for columns of type TCheckColumn,

Firemonkey: How to define a component that contain another component?

让人想犯罪 __ 提交于 2019-12-20 03:16:20
问题 Under Delphi, i want to create a new firemonkey control that will contain another firemonkey control. This is not really a problem because i can do like this : constructor TMyComponent.Create(AOwner: TComponent); begin inherited; FBtn := Trectangle.create(self); FBtn.parent := self; FBtn.stored := false; end; But now i would like to permit end-user to modifie the properties of the FBtn in the Object Inspector also! i don't know how to do :( if i remove the FBtn.stored := False then i will