Delphi Custom Listview Draw - delphi

I am looking to make something like IPhone Listbox !
I found someone who provided a download url for this project: but I was to late and the download url does not work anymore.
So I'm asking if killercode the same member on experts-exchange to upload it again if possible and if there is someone who can help me find the right component for this kind of listbox to use in Delphi.

TDbCtrlGrid looks a lot like what you are looking for.
You just define how each row has to look in the form designer, and that is used as some sort of template for each record in your dataset. It shouldn't take more than a couple of minutes to reproduce whatever you have in your screenshot.
This screenshot was found via google and shamelessly posted here..
Also, check this question:
Delphi control that could mimic "Add-ons|Extension list" of Firefox?
It's about somebody trying to mimic the FireFox add-on list:

If you want to pay for components, TMS software do an iPhone controls pack, which i think has a listview.

Related

How to customize the filters in the Quickreport saveas dialog?

In Quickreport, when we click Save button, it will appears many option of extension (QuickReport file(.qrp), Excel spreadsheet (.xls), and so on).
I just need to display only QuickReport file as a filter extension option? Is it possible? I read QuickReport Help but found nothing.
Quickreport version 4.06
Find and delete (or comment out) the qrextra and qrhtml units in your uses clause, and remove the corresponding componnents (TQRXLSFilter, TQRExcelFilter, TQRHTMLDocumentFilter, TQRAsciiExportFilter, TQRCommaSeparatedFilter, TQRRTFExportFilter, and TQRWMFExportFilter) from any forms in your application. You'll find the full list of all of the available standard export filters in QRExport.pas.
(It's often important to include the version of any third party components you're using, particularly those that change drastically between versions such as QuickReports or Indy, in order to make it easier to answer your question.)

Form/Unit switching in Delphi XE?

How do I get a projects form, as well as its unit, shown both on the tabs/pages?
Currently I have to use "Toggle form/unit" or press F12
Just out of curiosity's sake, doesn't really bother me, but would be nice to know (I switched over from Delphi 7, so I must still get used to stuff)
Thanks
You can switch using Code/Design Tabs in the bottom.
I believe in XE you can alter the display to display as it did in Delphi 7.
Here is a link describing it. I have not watched it as I don't have much time but being from embaracadero I am going out on a limb and saying it will help.
http://blogs.embarcadero.com/andreanolanusse/how-to-configure-delphi-2010-to-look-work-and-feel-like-delphi-7/

Custom component on delphi loading screen

How can I make my custom visual control to appear on delphi splash screen?
Like this:
here you go
http://www.delphi3000.com/articles/article_3870.asp?SK=
I don't have now the time to create a fully functional example, but I believe this link will help you a lot.
LE: I've found some examples here:
http://www.delphi3000.com/articles/article_4620.asp?SK=
and here
http://www.mail-archive.com/delphi-talk#elists.org/msg00870.html
Searching the ToolsAPI folder in my Delphi installation for "Splash" yields SplashScreenServices: IOTASplashScreenServices; whose comments read promising.

Transparent checkbox with theme-support?

I'm looking for a simple, transparent checkbox component that properly supports XP/Vista/7 theming.
It should also work with Delphi 7.
I've found a component on Torry's that's not working properly, and I know that Raize components has a transparent checkbox - but I'm obviously not going to pay $300 for the entire package just to get this single component.
I've also found many other solutions, but none of them support theming.
The main problem is that TCustomCheckBox is a TWinControl descendant, and in order to implement transparency, you need to make a new TGraphic descendant control from ground up.
Any ideas?
LMD-Tools SE is free, works great on Delphi 7 and has a checkbox component that has a transparency property. I've recently used TLMDCheckbox with its transparency property enabled with Delphi 7.
http://www.lmdinnovative.com/download/index.php#LMD
Download file: setupse10d7.zip. Sorry, I can't post the whole path (url) since I don't have enough juice yet.
This should fix you up :).
ShawnH.
Raize Components is overkill for just this component, but much more capable and supports transparency in a whole load more components. Once you have it, you'll appreciate the other items greatly. I'd say it is the solution you are looking for.
If you can accept an alternative control there is JvXPCheckCtrls.pas with its TJvXPCheckbox component in the JVCL library. http://jvcl.delphi-jedi.org
I think (if I remember correct) it is transparent when themes are used.
It's quite a large package which will add to vcl with the installation of Jvcl. And it doesn't cost you a cent.
But remember, the TJvXPCheckbox component is part of their XP-controls package and you cannot simply lift out the component as a standalone. You will need the installation of Jedi and to get the core code and necessary theme handling to use it.
- Its Mozilla Public Licence ("MPL") version 1.1.
I use AlphaControls for some of my programs - all of their components are skinnable and have reasonably powerful graphics handling options. A lot of the components also have more features than their corresponding Delphi standard components - some I just use for those functions alone. There's a free Lite version available at www.alphaskins.com - it may just be what you're after. It's not Vista/7 theme-aware, mind you. We use Delphi 2010 and vista/7 theme awareness is built into the standard VCL there, although that's probably not the solution you were hoping for.
Not sure if this will help, but I ran into what I think is the same problem when working with the TMSSmooth controls: the label of a checkbox place on a form looked terrible because it was not transparent.
Their demo/example programs had nice looking checkboxes so I took a look at their sample code.
Turns out they reduced the width of the checkbox component to 13 so that only the box itself and no caption shows. Then they added a TLabel for the caption.
Seemed like a clever workaround to me.
Hope this helps.

Delphi 7 - Embedded file open dialog in a form

Does anyone know if it is possible to embed a file open dialog inside your own form?
We have a tabbed dialog and on one of the tabs we want the user to be able to browse for a file with the same functionality as the the standard open dialog e.g. 'Look in' combobox, places bar, shell file list, file name comboedit with name completion etc etc.
I've looked at recreating the dialog with some 3rd party components, namely Jam Shell Browser Components
I can get most of the functionality this way, but I'm missing a couple of things e.g. the places bar and the filename auto completion\suggestion
I don't want to say it's impossible but considering the amount of ugly winapi hacks you'd probably involve I suggest "recreating the dialog with some 3rd party components" but with VirtualShellTools.
VirtualShellTools can be downloaded from this SVN archive.
And here's the google code project page.
(At least it has the filename autocompletion combobox though i am not sure if it has the places bar). Hope it helps.
The places bar is not that difficult to implement using a TListView component set to large icons. The Raize Components library also has some source that would help in this arena.
Just a small note, it's fairly easy to add an auto-completing combobox with SHAutoComplete.
See this article for details.
Maybe this Shell Controls Demo can help you.
Edit: ATM the site seems to be down. The Wayback Machine helps.
Here's the latest download link for the controls involved from the wayback machine:
I would re-create it: it shouldn't take long with the VCL Components. The autocomplete is not hard, and you can get the rest of the data if you look through the windows docs long enough.
You can try and cheat by detecting the tab change and displaying the open dialog as if it were the tab page. You will have to detect the user clicking outside of the dialog (e.g. on a different tab) and prevent it closing until you want to change tabs.
Cheers

Resources