Delphi Programming Series: 48.11 - Dynamically creating a BitBtn component

  Рет қаралды 627

Shaun Roselt

Shaun Roselt

Күн бұрын

Пікірлер: 7
@khadysdreams
@khadysdreams Жыл бұрын
Can you pls explain how to change the size of the image on bitbtn
@khadysdreams
@khadysdreams Жыл бұрын
For exemple if u want bitbtn small but the image so big so how you fix that ?
@MQuaritch
@MQuaritch 8 жыл бұрын
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.
@ShaunRoselt
@ShaunRoselt 8 жыл бұрын
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.
@MQuaritch
@MQuaritch 8 жыл бұрын
Better use TCommandButton from Lina Components, it's much more stable and can do more.
@ShaunRoselt
@ShaunRoselt 8 жыл бұрын
Dennis07 I do not like third-party components.
@MQuaritch
@MQuaritch 8 жыл бұрын
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.
More Delphi Basics | Part 4 | Local and Global Variables
10:47
Mr Long Education - IT & CAT
Рет қаралды 7 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Стыдные вопросы про Китай / вДудь
3:07:50
вДудь
Рет қаралды 2,9 МЛН
Tools EVERY Software Engineer Should Know
11:37
Tech With Tim
Рет қаралды 25 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН