I have an object that is derived from the TStringList object that I call a "TAutoString." It allows you to specify an object type when the list is cre ...
I have an object that is derived from the TStringList object that I call a "TAutoString." It allows you to specify an object type when the list is cre ...
I would like to create a function which replaces the current image with another one. The problem is that I have 64 pictures to replace. I created a fu ...
I'm working on a problem in which I need to dynamically size an array, upon which numerous operations are needed. I have successfully coded two classe ...
I can't seem to find out the answer to this through searching, so here goes.... I know that I can pass Class objects generically to other classes by ...
I'm having a problem adding a TObject value to a FireMonkey TListBox in Delphi 10.0 Seattle. An exeception is raised when casting an Integer variable ...
Today, one very simple question came to my mind when I had to override TObject's BeforeConstruction method: Why do TObject methods AfterConstruction ...
From my limited knowledge about this subject, the following code should work. But I have not the expected result: My expected result would be 6 and ...
When declaring classes and so on, what does the "T" in TObject stand for? Template? Example: ...
it works on 32-bit platform.but not 64-bit here is the exzample can anyone help me? thank you very much ...
I was wondering how you get a position of a certain object in a list that is created. Lets say it is like a graphical list where you can click on obje ...
I currently have this, and it sucks: but instead, i want to do something like this: However, on compilation, it complains that the [1, 2, 3, 4] ...
I'm currently working with CodeGear Delphi 2007 under Vista. My application returns out of memory error during some rather heavy calculations. The .ex ...
how can i make my code to work ? :) i`ve tried to formulate this question but after several failed attempts i think you guys will spot the problem fas ...
I have a procedure that expects a parameter of type TObject, something like this: I have an array of Variant that I'm looping through to call the p ...
TObject.InstanceSize returns 8, yet TObject doesn't declare any data members. According to the implementation of TObject.ClassType, the first 4 bytes ...