[DUG] Making apps look fancy
Sean Cross
sean at picsprint.com
Wed Aug 12 20:19:27 NZST 2009
I use mustang peak http://www.mustangpeak.net/ drop down forms for this.
I (conceptually) set a timer when the user starts typing. Every xxx ms, I
run a query and populate a component on the drop down form.
Depending on where I using it, and how slow the search is, I run the search
is in the main thread or a background thread.
In my main app, I just run refresh a stored proc component when the user
stops typing for a brief time, and do it in the main thread. That is plenty
quick enough. In other apps though, I have run searches in a background
thread and only done the vcl update in the main thread.
Sean
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of John Bird
Sent: 12 August 2009 5:39 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Making apps look fancy
One thing I would like to be able to do more is the live search boxes, like
the Vista start menu/Firefox Address bar/latest Google search results/etc
which populate the lists as you type.
What is others opinion on the best way to do these in Delphi? (especially
using standard VCL and non-data aware controls).
I see Delphi 2010 brings in such a feature to the IDE, it does a simple
non-indexed search behind the scenes apparently.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090812/89c19fc0/attachment-0001.html
More information about the Delphi
mailing list