jtheis: per your post 10 May 05 11:45
Rather than use / which is inefficient for this use and can produce rounding and truncation errors in your results, use the bitwise operators (a list in attached from the Delphi helpfile for your convenience).
So, to separate the upper and lower bytes...
The problem is in a purchased control and the original developer is no longer to be found.
The basic problem is the following code from the control:
procedure TPline.SetCapacity(NewCapacity: Integer);
begin
if (NewCapacity < FCount) or (NewCapacity > MaxVertexListSize) then...
Try using the "Texcellent" library functions for all your printing in Delphi. I switched to using it and and never looked back nor used anything else since! These are not free, but worth every cent.
The reason you have to go backwards in the loop is because it moves the component indexs down to 'fill in' for the one you just deleted. This makes the next index incorrect. By going backwards, no moving needs to occur so the indexed components you are looping remains correct throughout the...
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.