I have a TDBEdit where users enter a temperature value, usually something like "-40°C" or "+32°F". Pasting the deg-symbol has always been a PITA, so I've added a small SpeedButton above the edit control which will paste the symbol with the following:procedure TTenCvnForm.DegBtnClick(Sender...
I have a form that I want to make calls from both a console app and from a GUI app. I have a statusbar on the form. Since the form itself is not visible from the console app (it could be but rather not), I want the status updates going to the screen, not the statusbar.
I was hoping the...
I have to brush up on Virtual Methods for an interview. I understand them but got stumped when trying to demonstrate it to myself. First, go here: http://en.wikipedia.org/wiki/Virtual_function#Example
The example is in C++ so I converted it to delphi.unit AnimalUnit;
interface
uses...
I had the following in my program's main form:procedure TManagerMenu.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
CanClose:= MessageDlg('Exit Manager Menu?', mtConfirmation, [mbYes, mbNo], 0) = mrYes
end;
The problem was that, if the user never clicked "Yes" or "No", it never...
I'm using LedgerLink (LL) to access QuickBooks (QB) records. Basically I'm using it to add invoices (produced in my application) to QB. The first step is to query QB to see if the record already exists, using the following code:function TQbInvForm.FindInvoice(RefNumber: string): boolean;
begin...
I have an application which saves db reports in PDF format. I also have a routine to view, print, email and/or fax the PDF from my application The routine was created using the method described in:
http://delphi.about.com/library/howto/htusepdf.htm
It was all working just great. However...
From March 20, but worth reading...
http://mikepence.wordpress.com/2007/03/20/delphi-on-rails/
http://protoiyer.wordpress.com/2007/03/22/why-delphi-is-the-best/
Roo
Delphi Rules!
I am trying to teach myself web services in D5E. Using TWebModule, I created a "Hello World" dll (ISAPI) that just creates a simple one line html. I tested it on my local IIS and it works fine. HOWEVER, when I transfer it to my web hosing service, no go. I contacted tech support at...
Greetings! This post is to serve as a place holder to invite D-TNT (Delphi Tips & Tricks) to tech-tips. Our forum appears to have died. http://www3.d-tnt.co.uk/forum/default.asp?dtntforum (R.I.P.) Hopefully just temporarally. We are a tight group and many of us have become close friends over...
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.