Using Interposer Classes - Delphi 223

  Рет қаралды 2,345

Alister Christie

Alister Christie

Күн бұрын

Пікірлер
@BillDemos
@BillDemos 6 ай бұрын
Very clever, would have thought that the form would compile with the original TLabel, but makes sense! Subscribed!
@brucemcgee5749
@brucemcgee5749 Жыл бұрын
Very nice, Alister. Thanks. Some random notes on your random notes: 1) If you define your interposer class in a separate unit, make sure it appears AFTER the VCL (or FMX?) unit in the interface uses clause. In this case, Vcl.StdCtrls. 2) Not sure about TLabel, but for things like TComboBox, if you have an event handler where you cast Sender (Sender as TComboBox), you may see a casting error, possibly on inherited forms. The fix is to cast it more explicitly (Sender as Vcl.StdCtrls.TComboBox). 3) I haven't had to deal with hidpi too much, but in the Start menu, there's an option to run the IDE in DPI Unaware mode, which isn't ideal, but it helps when working with legacy forms.
@codegearguru
@codegearguru Жыл бұрын
Yes, very good points. Video is a difficult medium to update, and often after I've published a video I realise that I've forgotten to mention something useful.
@brucemcgee5749
@brucemcgee5749 Жыл бұрын
@@codegearguru It's a great video. I'm just venting from some recent pain. :)
@ntsitomaelane7486
@ntsitomaelane7486 8 ай бұрын
Thank you Alister
@ErezAmir
@ErezAmir Жыл бұрын
Helpful!
@enoshwang2505
@enoshwang2505 Жыл бұрын
老师,谢谢你!
@davemurey6119
@davemurey6119 Жыл бұрын
А я всегда использую цветовую схему в редакторе Delphi как в старом добром Turbo Pascal.
@adrianwilliams763
@adrianwilliams763 Жыл бұрын
Interesting
Logging Using Dependency Inversion - Delphi 238
42:21
Alister Christie
Рет қаралды 1,3 М.
Build Notepad.exe in Delphi - Delphi 231
34:29
Alister Christie
Рет қаралды 2,8 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 60 МЛН
A Simple FireDAC SQLite Application - Delphi 234
10:11
Alister Christie
Рет қаралды 2,2 М.
Logseq Namespaces - How to use (or not use) them
19:07
CombiningMinds Knowledge Management & Productivity
Рет қаралды 13 М.
Revision OOP Part1
2:38:02
(!NULL)
Рет қаралды 525
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 82 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 188 М.
LCM: The Ultimate Evolution of AI? Large Concept Models
30:13
Discover AI
Рет қаралды 24 М.
Reduce the Memory Required to Build Your Project - Delphi 229
16:03
Alister Christie
Рет қаралды 1,5 М.
Systems Design in an Hour
1:11:00
Jordan has no life
Рет қаралды 33 М.