News

Customizing jQuery Validation

Author: Andrew Bond While doing some bug fixing and cleanup in a web application, I had the chance to go a little deeper into the jQuery user input validation framework. There are many tutorials available about implementing custom validations. But what I wanted to do was to extend the default validations with my own code, while preserving the existing functionality, and to do it site-wide. So…
Read more
News

Multicast events using generics

Author: Allen Ever since before Delphi 1, the (then Delphi only) RAD Studio IDE has been full of home-grown multicast event class types. I usually refer to these as an “event bus.” This is from my hardware days when I designed microcontroller based…
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