News

Keep a "Non Modal" window active when a modal window is being shown

Author: deepak S1409 Recently, I was exploring writing an ADO SQL logging tool (sorta like BDE monitor) – more details on that later – which would show SQL statements on the screen as they ran. All was well until I figured I needed to be able to see my SQL logging form even when a Modal window was being displayed. TForm.ShowModal() disables all other windows in the current thread, so…
Read more
News

My quotes.txt file

Author: Rudy Velthuis I have often been asked about the quotes I use when writing to the newsgroups. These come from a file called quotes.txt, and are placed under my messages by my news client, XanaNews, by some kind of random process. Although, sometimes the quotes are so…
News

Showing Download Progress in Delphi SOAP

Author: deepak S1409 Download the code for this white paper (dlprogress.zip, 12 KB) Abstract This paper talks about how you can show a download “progress” bar (like many download utilities do) when using SOAP to transfer data. I’ve used Delphi 7 in this…
News

Multiple windows in Delphi

Author: deepak S1409 From a recent thread in borland.public.delphi.nativeapi.win32: There’s a problem in the way Delphi handles multiple open forms. Delphi applications can have multiple forms, and you will notice that each form does not appear on the task bar. Delphi forms do not have the WS_EX_APPWINDOW style set – this style is required if a window needs to appear in the task bar.
Read more
News

The Delphi Eclipse...

Author: David O17638 One item in my previous post that I specifically didn’t address is the notion of using Eclipse instead of VS. Again, this is something we’d be remiss to ignore. However, the primary ding against Eclipse is its reliance on a…
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…
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 properties of the component and, if we press Alt-F12, we see the .DFM file now contains information about the component. Whether…
Read more
News

PopupMode and PopupParent

Author: Allen In VCL.NET (and for those of you paying attention, also in the version of Win32-VCL used in the IDE integration pack for Delphi 8) there is a new property on TCustomForm called PopupMode. This controls how the top-level form behaves with respect to…