I have a column with only “Yes” and “No” values.
I think if the column value is “Yes”, only the cell background color will be red
Otherwise “No” and the background color is yellow
But this code co
Month: October 2021
Lua stacking device
Note: If the overlapped value encounters nil, then exit
The iterator is in line with the for traversal framework and needs to be satisfied Conditions
1- Iterative functions, constants,
Delphi – Repeat Identifier of Attributes and Method Parameters
I transferred my project from Delphi to Lazarus. In a form, I have a private method with a parameter var Active: Boolean. It’s okay in Delphi, but Lazarus gives an error : Repeat the identifier “Ac
Does the Lua_State pointer passing to Lua_CFunctions guarantee the same state as the call function?
Context: I am working on a set of bindings, and many of my functions refer to the “global” Lua state. (It is not actually global in the code I am developing, but Local to a specific runtime instanc
How to reference the field name in Firedac in Delphi
I am developing an application that runs on multiple databases, many of which have their own way to refer to reserved words as field names, such as
such as< /p>
select `key` from mytable or
Delphi – Convert BMP to PNG failed
I have the following simple code to convert a clipboard image to bmp and then to png:
if Clipboard.HasFormat (CF_PICTURE) then
begin
bitmap := TBitmap.Create;
png := TPNGImage.Create;
try
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 – Is there a general E-unfailed exception: exception?
I want to know if there is an exception/error, which will cause your code to jump to an except block but will not be processed by the E: exception.
try
i := StrToInt(s);
{…do a lot more..
Delphi – TListView column sort (sorted by the first two columns)
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
Delphi XE: TDBMEMO text disappears
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