Fog Creek Software
Discussion Board




Fancy smancy webish interfaces in Delphi.

A project that I am working on needs to look like the user interface in Microsoft Money, QuickBooks. (i.e. A Web based one click with lots of fancy graphics and charts all running on a thick Win32 without an internet connection)

I figured that the way to do it would be with a wrapper around the Internet Explorer base class. However I am finding little in way of Documentation in MSDN, Borland's web site, Google Groups for how this is done.

Can anyone point me to working code, a OSS project, a book, website etc.  That will give me some pointers on how to do this ? I am stumped. (The code does not have to be DELPHI, I can translate. )

Thanks

Rob
Sunday, July 13, 2003

shdocvw is the 'web browser control'. you can in visual studio insert it in a few hours work (if you've never done it before). i'm sure there are delphi examples.

or you can use HTAs as mentioned in a thread below--let Microsoft write the host for you! You just need to supply the UI (as HTML as resources in a DLL or files on disk or by writing your own moniker if you're nuts), then write an ActiveX control to handle whatever logic you'd rather write in the language of your choice.

you can also host mshtml directly but that's rarely the right choice.

mb
Monday, July 14, 2003

Developer Express has a control suite that can do this fairly easily I think.  It's called "Express Layout Control".  It's usually used mainly to provide automatic form positioning and rearranging of editing controls.  That's mostly what I use it for, and it's amazing.  No more wasted time placing individual controls on a form, then moving, aligning, rearranging.  It's all (or almost all) done automatically with the Layout Control.

Anyway, they do promote that it supports MS Money style interfaces, and one of the demos they include is of a simple interface of this style.

Click on the MS Money image link on this page to see it:

http://www.devexpress.com/products/vcl/detinfolayout.asp?prodid=27

As with all DevExpress products, there is no free trial, although they have, I believe, a 60 day money back guarantee.  The controls are a bargain at $150.  You can download a binary demo at this url:

http://www.devexpress.com/downloads/vcl/elayout.asp

Herbert Sitz
Monday, July 14, 2003

Rob,

I made a little program to track my comics collection which used an embedded WebBrowser control, and also caught custom links (which I called 'action:' in the HTML source) to fire off TActions in the Delphi program.

If you like, I could send you the code (I have an old copy of the code here at work). Drop me a line!

Cheers,
Mabster

Matt Hamilton
Monday, July 14, 2003

Check out http://www.euromind.com/iedelphi/ for a lot of information, examples, source code for integrating the IE ActiveX control in Delphi.

Xtender
Monday, July 14, 2003

*  Recent Topics

*  Fog Creek Home