Delphi styled speedbuttons lose transparency on MacOS - delphi

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?

Related

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

Delphi 6 TDateTimePicker Windows Visual Theme support via Manifest

As per my previous question (Delphi 6 support for toolbar and menu icons with alpha channel transparency), we are updating a legacy application developed in Delphi 6 to support Windows Visual Themes by including a Manifest. This has worked well and we have the majority of controls adopting the Windows visual theme correctly.
However, we do have a problem with TDateTimePicker behaving in a slightly odd manner. We have the form colour set to white (RGB 255/255/255) and the input box for TDateTimePicker is not visible on the form until it is clicked into and has an entry in it. Please see screenshots below:
Changing the form colour to grey, we can see that the box is there when not selected, it just has no border drawn around it:
We have been unable to find a property that will change this behaviour. Can anyone shed some light on why this might be occurring, what property needs to be changed, or another method we could possibly use to resolve it?

How to set transparentedit style to a TEdit in firemonkey?

When developing a Windows or iOS application in Delphi Seattle 10 we can easily create a transparent TEdit by setting it's StyleLookup property into transparentedit.
However, it doesn't change anything when developing for Android.
How do we create a transparent TEdit for Android in Firemonkey?
Not the best solution - but solves the problem in a simple way.
1 - Add a blank TRectangle to cover up the Tedit line. It will look like it is transparent.
Note : covering it up with 1 px of height will reduce to almost 0 the chances of giving a bad user experience when clicking on the field.

TGridPanel no transparency if themes disabled in Win7

I have a form filled with a TImage. I put over this a TGridPanel. If themes are enabled in Windows 7 the TGirdPanel appears with transparency. If themes are disabled (no visual styles) the TGridPanel loses transparency and hides the part it ocupies. I use Delphi XE2
Is there any workaround for this?
That's a basic fact of life for panels. It's not special to the TGridPanel, you will see the same effect for any control derived from TCustomPanel. The transparency is only supported when the application is themed.
The grid panel is just a convenient way to layout your controls. If you want to support running unthemed then the simplest solution is to remove the TGridPanel and layout your controls manually. That's pretty much trivial to do. Handle the OnResize event of the control that currently contains the panel, and position your controls as desired.

Delphi button on Glass - Best Looking Third Party Button Component

I am looking for a Delphi button designed to use with Aero Glass running Vista and Windows 7, with the following properties:
completely self-drawn TCustomControl descendant.
looks good [ renders in a way that looks to the user like a normal button, with no glitches ] over a Glass pane with Aero composition (DWM), no white or black ring around the button, and no problems with the caption getting messed up by Aero composition. (This will knock out any button that has not been written to be glass aware.)
The usual features of a TButton/TBitButton, including link to TActions, support for a glyph (bitmap/picture), etc.
Optional, nice to have features:
Transparency support (optional, it would be nice if it could be opaque but draw cleanly over glass).
I can throw TRzButton from Raize Components into the ring. The form should have DoubleBuffered set to true to make the labels visible, but the button must have DoubleBuffered switched off to remove the unwanted frame.
You can also use TRzBitBtn if a glyph is required. As an alternative TPngBitBtn from PngComponents will also qualify.

Resources