Hello,
This problem is probably very easy to solve, but the solution is eluding me. Is there any way to set the background or font color of each item in a listview individually?
I have a ListView component on a form displaying data from instances of a class. The only problem is that I want...
I found a great little tool for tracking down memory leaks called MemCheck. You just add this file to your project, call the MemChk procedure as the first line in your project (in the .dpr file), set a few options on the compiler page, and execute your program.
MemCheck will watch your code...
Hello,
I have a program using D5 Pro that seems to have at least one memory leak. I just verified the existence of the leaks last night. I will begin extensive searching in the next few days (I am something of a hobby programmer, not a professional, so I code and test in the evenings).
I was...
I have a form where the min and max of a TUpDown change according to the options selected. A user could set the position and then change the options making his position setting out of the range. I have discovered that Delphi automatically moves the position to the new min or max but the...
Thank you so much. I don't have much choice about what kind of system I develop on. However, I will be splitting that form into several related forms. My guess is three.
The form is the only one in the application to use components from the Raize pack. It has about 54 Raize Combo Boxes on it (but the errors also appear after I replaced most of them with regular combo boxes). When I run the program with the IDE running (to debug and test), the crashes occur...
Does anyone know what this error message means?
"Win32 error. Specified module not found."
The error _sometimes_ pops up when I try to open the most complicated form in the application. The form does exist and has been auto created. When I tried to create the form on the fly, even...
Hello,
I am using D5 Pro on 95. My program was running well until a few nights ago when it began to give me an error message when starting up. The message came up on three different runs with a slightly different message each time but at the same point in the execution. The first two nights...
I would like to make a comment on the Access vs. Delphi thread started above. At work we have to do everything in M$. While here I have had to write two programs in Access. Both are database and creating the tables themselves was a breeze. I missed a few things from Paradox but not much (an...
I am trying to write a small word processor where I can type with a Hebrew font (which flows right-to-left), copy to clipboard, and then paste it into a high level Word Processor. The clipboard portion is not a problem. How do I tell the program to display my characters this way?
Thank you,
Frank
Here is the procedure in question:
procedure TMain.CleanMap;
var
BitMap: TBitMap;
i: integer;
begin
Bitmap:= TBitmap.Create;
Bitmap.Width:= ImMap.Width;
Bitmap.Height:= ImMap.Height;
ImMap.Picture.Graphic:= Bitmap;
//draw a border 10 in from the edge all the way around...
The Image.canvas is 410x540. psDot didn't make a difference. Is there a problem with these commands in D5 even though I found them in the D5 help? I hope to see a grid composed of dashes (dots would be fine, too).
Hello,
I have the following code:
ImMap.Canvas.Pen.Style:= psDash;
i:= LeftBounds + 10;
while (i < RightBounds) do begin
ImMap.Canvas.MoveTo(i, TopBounds);
ImMap.Canvas.LineTo(i, BottomBounds);
i:= i + 10;
end; {while}
The problem is that no matter what I set...
I found it. The problem in TMovement was a bad copy constructor. Instead of creating another instance of the correct TMovement, I was creating a pointer to it. When I freed my copy, I freed the original also.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.