I use Delphi 2010 and TListView to list names and other data. The first two columns are Last Name&Name
Caption = Last Name
SubItems[0] = First Name
How to sort ListView by these two co
I use Delphi 2010 and TListView to list names and other data. The first two columns are Last Name&Name
Caption = Last Name
SubItems[0] = First Name
How to sort ListView by these two co
I have a rather strange problem, I can’t find the document. I have a Delphi program that uses Delphi’s built-in TDBMemo component, because the component needs to extract data from a field in the da
I have a TCustomClientDataSet (in memory), which is used to perform some filtering in a Delphi program.
My filtering code is as follows:
CDSFilteredGroup.Filter :=’ACP_type = 1 AND ACP_
I need to read from a .log file that is constantly changing from another application. (Adding more data often)
So I started from the beginning:
var
LogFile: TStrings;
Stream: TStream;
I am porting an old application written in Delphi to Java.
I have some trouble using this function, it calculates the CRC of the transmitted message.
This is the original code:
if(Rece
I have been trying to solve this problem, it seems to take too long to do some simple things.
I have such a file:
[
{
“FirstName”: “Oleg”,
“Surname”: “Buckley”
},
{
“FirstName”: “
I need to call some C code from Delphi. The C code needs to be able to call back into the Delphi code. The example Calling a callback function in Delphi from a C++ DLL shown here is very effective.
I have a tall list box with a variable number of items. It is not always full. I know that when the user does not select items through this code:
if (lstbox.ItemIndex = -1) then
ShowMessage(
I need to test whether double is an integer. Basically this is an example of the rule:
> 5.0>true
> 5.2>false< /p> In order to do this, I do an if (result mod 1) = 0 and see if it returns tru
My Environment: Rad Studio XE4 using C++ I am using TThread to develop a software. Recently, I encountered a problem, namely Days later, TThread was suddenly destroyed.
In TThread, the thread