Delphi XE4 FireMonkey TMemo Transparent? (IOS)

Is there a way to make TMemo transparent in Delphi / iOS / FireMonkey?

I don’t see a way to edit the styles myself when I select + right-click on a recording control ...

+6
source share
2 answers

Try removing the memo background when applying a style event.

procedure TForm1.Memo1ApplyStyleLookup(Sender: TObject); var BckObject: TFmxObject; begin BckObject := Memo1.FindStyleResource('background'); if Assigned(BckObject) and (BckObject is TSubImage) then begin TSubImage(BckObject).Source := nil; end; end; 
+8
source

You need to change the style of the control that you want to display as you want. Unfortunately, Embarcadero does not provide a fully functional example, only some information on Configuring FireMonkey applications with theme styles

+2
source

Source: https://habr.com/ru/post/949461/


All Articles