I have this simple operation in Java, where the string is split by new line and break. I would like to obtain the same result in Delphi 2006. Is i ...
I have this simple operation in Java, where the string is split by new line and break. I would like to obtain the same result in Delphi 2006. Is i ...
I'm trying to break out of the while loop by changing the auxboolean variable inside the for loop but it doesn't work. The for loop doesn't exit when ...
The Delphi TList.Sort() method expects a callback function argument of type function (Item1, Item2: Pointer): Integer; for comparing the list items. ...
Is there a way to remove part of condition in IF statement depending if I need it or not. Next code is example, because in my code there are a lot of ...
Look at this code: It is not important what this code does, what I need help with is did I use enough ENDs in this part of code. So the first END ...
I want to create form as a local variable in a procedure and then open it in a design mode so I can add components to it. Is this possible or do I hav ...
Is there an option to use same components (check boxes, TEdits, etc.) on different tabs on TPageControl component? ...
How I can pass unicode string to exception raise messages and catch it: The idea is localization. ...
I am having below code which is working fine on my system as my date time format of the system is dd-mm-yyyy, but below code does not work where date ...
If I try to compile the following code I got an error message "E2010 Incompatible types: 'Extended' and 'TMyRec'" for the last line (E := R): I ask ...
TOpenDialog has an option ofEnableSizing which allows the user to modify the dialog size of an open dialog. This sizing data seems to be stored for th ...
I want to produce two different versions of my application, with different icons based on a DEFINE. I succeeded to include different resource files ba ...
I need to split a string to a TStringList with fixed-length sub-strings. Currently I use: This works, but seems to be slow. Any better / faster id ...
When compiling a piece of code like this: I get this strange compiler error message: If I remove the 'with' line, the error disappears. In my ...
I have a form that has a TADVStringGrid. I am trying to add a combobox to some rows in a specific column (2); however, I can't get the data to show on ...
I have a Delphi 2006 application that has TAdvStringGrid. There is one column in the Grid where I have to display a dropdownbox. It worked fine but I ...
I am in the process of creating a small application in Delphi 2006. In one of the classes there is a property of another class. In my onCreate event, ...
I have a Delphi Form with no component in it. Then, I create a unit with several classes. I've been trying to Instantiate the class and create an obje ...
I need to use Delphi 20006 and XE7 on my home computer, my work computer and my notebook, but I have so many components installed that keeping everyth ...
Normally in fast report, the data band lines up rows vertically . Now i want to design a report in which i should use a data band line up horizontally ...