Giter VIP home page Giter VIP logo

Comments (3)

salvadordf avatar salvadordf commented on September 13, 2024

FMXTabbedBrowser uses a TFMXWindowParent as a parent control for the web browser.
Chromium requires a valid Windows handle to draw the web contents so TFMXWindowParent inherits from TCommonCustomForm.

Instead of using the Transparent property I would use the workarounds described here on the main form and perhaps on the TBrowserFrame.CreateFMXWindowParent procedure too because FMXWindowParent is a reparented form.

Try using the FMXSkiaBrowser or the FMXExternalPumpBrowser demos.

from cef4delphi.

chenzhifeng0025 avatar chenzhifeng0025 commented on September 13, 2024

I’m not sure how the page you provided will help with my issue. Your FMXWindowParent is a reparented form—how does this affect the transparency of the MainForm? Why does the FMXWindowParent also become transparent when the MainForm is set to transparent? And why does setting FMXWindowParent to opaque not work? I'm working on a modern, stylish, frameless, and visually appealing application, and I don't like the old-fashioned title bar. Are there any other methods to solve this problem?

from cef4delphi.

salvadordf avatar salvadordf commented on September 13, 2024

The best solution would be to design your own FMX style :
https://docwiki.embarcadero.com/RADStudio/Sydney/en/FireMonkey_Style_Designer

Using transparency or setting the Form's Caption to an empty string, disabling all of the BorderIcons, and setting the BorderStyle to bsNone is not the right way to get what you require.

from cef4delphi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.