Solved

points for geobul

Posted on 2002-04-16
1
174 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now