Very clever, would have thought that the form would compile with the original TLabel, but makes sense! Subscribed!
@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 Жыл бұрын
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 Жыл бұрын
@@codegearguru It's a great video. I'm just venting from some recent pain. :)
@ntsitomaelane74868 ай бұрын
Thank you Alister
@ErezAmir Жыл бұрын
Helpful!
@enoshwang2505 Жыл бұрын
老师,谢谢你!
@davemurey6119 Жыл бұрын
А я всегда использую цветовую схему в редакторе Delphi как в старом добром Turbo Pascal.