Delphi is a statically typed language, but there are some tricks you can use if you want to be able to do some dynamically typed coding. In this Delphi programming tutorial we create a custom variant type (descending from TInvokeableVariantType). We then override Get and SetProperty to handle arbitary properties (that don't exist at design time).
sugar sugar baby!
dreammaker182 1 month ago
what shortcut do you use for auto fill your code? thx
termodox 2 years ago
Hello Delphi developper :) I was wondering what is the use of creating a Singleton of TVarShowMessage since, has I understand, the function CreateVarShowMessage return each time a new instance of TVarShowMessage ? Is it in order to have a unique TVarType associated to your custom variant ?
HerrHick 2 years ago