Giter Site home page Giter Site logo

TStyledButton issue about styledcomponents HOT 8 CLOSED

ASOFTSRL avatar ASOFTSRL commented on June 9, 2024
TStyledButton issue

from styledcomponents.

Comments (8)

carloBarazzetta avatar carloBarazzetta commented on June 9, 2024 1

I've made some tests with Caption, but it seems that also standard TButton, TBitBtn and TSpeedButtons restore the Caption... The only way is to store a "blank" caption using a single space, so in the dfm the Capion = ' ' is stored and at runtime is used instead of Action Caption...

from styledcomponents.

carloBarazzetta avatar carloBarazzetta commented on June 9, 2024 1

Added to actual 3.4.5 version, give me a feedback if it works fine...

from styledcomponents.

carloBarazzetta avatar carloBarazzetta commented on June 9, 2024

Hello Alberto, the Transparent property is already present in TStyledGraphicButton (default false) and TStyledSpeedButton (default True).
For the Problem with Caption and the Action I'll investigate: I'm sure in past works, it's probably an error introduced in the last version...

from styledcomponents.

ASOFTSRL avatar ASOFTSRL commented on June 9, 2024

Hi Carlo,
...I would like the Transparent property also be introduced in TStyledButton ...is it possible ?

from styledcomponents.

ASOFTSRL avatar ASOFTSRL commented on June 9, 2024

...and you can't extend the Transparent property to TStyledButton as well like TStyledGraphicButton and TStyledSpeedButton

from styledcomponents.

carloBarazzetta avatar carloBarazzetta commented on June 9, 2024

No because in Delphi a transparent component can be only a "graphic" component: StyledButton inherits from a TCustomControl, that cannot be transparent, having a Windows Handle... This is the main difference from TStyledButton and TStyledGraphicButton. You can use TStyledGraphicButton but you loose TabStop capability...

from styledcomponents.

ASOFTSRL avatar ASOFTSRL commented on June 9, 2024

Good morning Carlo,
I would like to ask, if it is possible for you, add a futures in a next release a property ShowCaption (true/false) in TStyledSpeedButton and in the other StyledButton ( TStyledToolbar has ShowCaption property ) that disables the caption display without put '' in the caption at runtime.

from styledcomponents.

ASOFTSRL avatar ASOFTSRL commented on June 9, 2024

Good morning Carlo,
yes ! ...it work fine.

I appreciate your work and support.

Thanks
Alberto

from styledcomponents.

Related Issues (18)

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.