Can you pls explain how to change the size of the image on bitbtn
@khadysdreams Жыл бұрын
For exemple if u want bitbtn small but the image so big so how you fix that ?
@MQuaritch8 жыл бұрын
IMPORTANT NOTE: Do __NOT__ use the button components of the Vcl.Buttons unit (mainly consisting of TBitBtn and TSpeedButton) anymore! They have been deprecated for decades now and are no longer maintained. They are extremely buggy under later versions and only there for compatibility reasons. Use the standard TButton instead, this has most of the features already implemented. For those features which are not available there, you have lots of up-to-date 3rd-party stuff available, like the TCommandButton from LinaComponents.
@ShaunRoselt8 жыл бұрын
I actually like using TBitBtn and I still use it today in my new apps. I mainly use it as a 'Close' button. You will see my 'Delphi Programming Helper' app is actually still full of TBitBtn components (not much, but they are there). Thanks for the heads up though.
@MQuaritch8 жыл бұрын
Better use TCommandButton from Lina Components, it's much more stable and can do more.
@ShaunRoselt8 жыл бұрын
Dennis07 I do not like third-party components.
@MQuaritch8 жыл бұрын
Well, that is your personal problem then, if that means you use a buggy, lousy and obsolete component rather than a modern, functional up-to-date and stable one... :) And unlike the TBitButton, the TCommandButton from Lina uses the Windows API for drawing and does not do it itself. Also, it inherits from TButton which means it's 100% backward compatible to TButton, which TBitBtn and TSpeedButton is not. But, well, your choice. It's as if you took the Fiat 500 instead of the Audi R8, just because the Fiat is available at your local store and does not have to be delivered manually.