C Builder remove border on FMX ImageControl - c++builder

I'm displaying a bitmap image on my Firemoney desktop form using an ImageControl in RAD Studio XE3. The image displays correctly but has a border around it. The image has a white background and is being displayed on a white panel.
Is it possible to remove this border?

Use the TImage control in the 'Shapes' component tab.

Related

Delphi styled speedbuttons lose transparency on MacOS

Drop a speedbutton on a form. Set the stylelookup to composetoolbutton.
The button renders correctly on Windows, but transparency is missing on MacOS.
Any way to work around that?

Wrong TActionMainMenuBar icon bar width in HDPI in Delphi 10.3

If I use a higher DPI setting in Windows then the recommended one (200% instead of 150%), the icon bar width and the check mark size of the TActionMainMenuBar submenus not scale. The menu item captions overlap with the icons. Is there any system setting to resolve this problem without to modify the VCL source?

Issue with BringToFront in Firemonkey

I have two controls on my form.
TWebBrowser with Align set to Client
TMemo with Align set to None
I want to display TMemo on top of TWebBrowser for a particular scenario and for that am using Memo.BringToFront but it does nothing.
Am I missing something?
TWebBrowser Is a particular firemonkey Control. Firemonkey control are "paint" according to their z-order on a openGL surface (ie: the form). but TwebBrowser is a native control that is draw on another surface that is placed on the top of the form, hidding in this way everything back to it.
The only way you can do is to show you memo inside another window on the top of the TwebBrowser. for this you can use a native Memo. As far as i know their is only one native memo implemented on android (delphi already have some that work on ios/windows) it's https://github.com/Zeus64/alcinoe

Transparency & runtime themes

When runtime themes are disabled for whole project, transparent images are drawn with black background. Is it possible to draw transparent image on button when runtime themes are disabled? The button I am using is from TMS Component Pack, its class name is TAdvToolButton. I need to have themes disabled because I want to fully control how application looks like. This is important request.
Please try to explain the connection between transparency & themes because I don't see it. I think these are two different things.

Transparent PNG image with TImageList

I'm using Delphi XE.
I added a TAdvGlowButton on my form and added a TImageList with one transparent PNG image as its source for images. When I view the form in the design mode, the button looks exactly right and the image is transparent. However, when I run the program, the background of the image turns to solid black. If I undestood correctly, this is not a bug of the TAdvGlowButton but TImageList.
Is there a way to fix this without using any 3rd party components?
I solved this by opening the project settings from Project Manager and checked Application -> Enable runtime themes. What kind of silly option is this? When would anyone want to not enable runtime themes?

Resources