Delphi can call the method of the parent class through inherited, but it does not provide a method to directly call the parent class of the parent class (the grandfather class). The implementation
Tag: one
Convert DateTime format to another DateTime format in Lua
I have a question where a date value is used to send to the application for some processing, and it needs to be formatted into a different DateTime format first.
Yes) I have
I start wit
Delphi – Why does a class need an empty method to call it?
I am evaluating an existing dependency injection library for Delphi, and settled on delphidicontainer due to its simplicity-it only requires a unit file!
However, there is one thing I don’t u
Delphi: How to store TCUSTOMFRAME and record in a list
I am using TObjectList to store TCustomFrames. Now I want to store more information about TCustomFrame in the same list. The record will be good.
Which delphi class do you want to store in th
Delphi – How to convert TCLIENTDATASET to another TCLIENTDATASET?
How to get changes from TClientDataset?
I have a TClientDataset called GetDataset and I have a grid. I want to make changes in a new TClientDataset called ChangeDataset.
How can I do it
Is there a simple way to transplant the Win32 application in Delphi 2009 to .NET?
We hope to migrate from Delphi 7.0 to Delphi 2009 in order to keep pace with modern IDEs and current technologies. Our target platform is .NET. What is the best way to achieve this goal? I will
Delphi – Automatic shutdown when not in use within a period of time
See the answer in English> How do I check for PROGRAM idle time, as opposed to SYSTEM idle time? Three
We have a program that we are writing in Delphi XE. I have A question:
If the program is
Find a random number in Lua
I tried to use lua to generate a random number, but it just spit out the lowest value. For example, if I run:
x = math.random(17,41)
print(x) It returns:
17 what happened?
You c
Delphi judges whether a class implements an interface
TObject.GetInterface can obtain an instance of an object to implement an interface. The prerequisite is that the object must be instantiated before running GetInterface
The following method c
How to get the last string in TSTRINGLIST
The days I have been looking for how to do this, there is nothing I need to do (or I just don’t understand how to implement a solution).
var
AddressList: TStringList;
i: integer;
begin
Addres