News

Basic Authentication in Delphi 7 SOAP

Author: Tóth Erik Back after a break. It’s been quite a while since I wrote, so I’ll cut to the chase. Question on newsgroups: How do I set username/password for Basic Authentication on SOAP. Issues: The HTTPRio.HTTPWebNode.UserName and .Password properties are used only in situations where theres a proxy. But let’s assume you wanted to use these for basic authentication.
Read more
Delphi

Making "Stay-on-top-forms" do want you want

Author: Embarcadero USA Delphi supports this type of forms by providing the FormStyle property for the TForm class. All you have to do is to set this property to fsStayOnTop. So why did I write this article? Well, there are a few things to consider: Using fsStayOnTop…
News

The Observer Pattern

Author: Joanna C1415 Introduction When we use Delphi to design forms and data modules, every time we place a component on the designer, several things change: the form now shows an appropriate representation of the component, the object inspector changes to show the…
News

Tables vs. Query Components - Differences between Desktop and C/S databases

Author: Adailton C38044 The reason there are both Table and Query components is due to the fact there are table-oriented databases like Dbase, Paradox, or Access, and there are set-oriented databases like Interbase, Oracle, and MSSQL. These different types of database systems work and behave differently from one another and the same methods of access cannot be equally applied. Table components…
Read more
Delphi

Detecting tab key press

Author: Embarcadero USA Question and Answer Database FAQ2060D.txt Detecting tab key press Category :VCL Platform :All Product :All 32 bit Question: Since the KeyPress and the KeyDown events do not get called for the tab key, how do I trap the tab key at the form level? Answer: At form level, the tab key is generally handled by Windows. The following example demonstrates…
Read more
Delphi

Using WM_COPYDATA.

Author: Embarcadero USA Question and Answer Database FAQ1525D.txt Using WM_COPYDATA. Category :Windows API Platform :All Product :All 32 bit Question: How can I use the WM_COPYDATA message to pass information between 16-bit and 32-bit…
Delphi

Preventing multiple application instances

Author: Embarcadero USA Question and Answer Database FAQ1355D.txt Preventing multiple application instances Category :Windows API Platform :All Product :All 32 bit Question: How can I guarantee that only one instance of my program executes? Is it possible to restore the previous instance and shut down if I start more than one instance? Answer: Under Win16, you can check the value…
Read more