Solved

points for geobul

Posted on 2002-04-16
1
177 Views
Last Modified: 2010-04-04
thanks :)

i have some more for you when they give em me.
0
Comment
Question by:inthe
1 Comment
 
LVL 17

Accepted Solution

by:
geobul earned 300 total points
ID: 6947083
Hi,
Don't worry. That's more than enough. It was so interesting. Thank you very much :-)))

P.S. I've found a visualization problem when editing a number from two digit number to one. The following is the corrected part. It is located at the end of procedure TForm1.ImagePress(Sender: TObject);
Just replace the old part of code with this one:

             if InputQuery('Edit cell(' + IntToStr(i)+','+IntToStr(j)+') Type:'+CellType, 'Enter new number', NewNumber) then begin
               try
                 jPos := Length(IntToStr(Number));
                 Number := StrToInt(NewNumber);
                 jPos := jPos - Length(IntToStr(Number));
                 if jPos > 0 then begin
                   CellName := CellType + IntToStr(Number)+Format('%-'+IntToStr(jPos * 2)+'s',[' ']);
                 end else begin
                   CellName := CellType + IntToStr(Number);
                 end;
                 Canvas.TextOut(1,1,CellName)
               except
                 ShowMessage('Enter a number next time !');
                 bmp.Free;
                 exit;
               end;
             end;
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connection between libmysql.dll and MySQL Versions 7 113
find a node in VST 2 73
enhance the following code 3 37
Breakpoint doesn't stop in my variable 3 30
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question