CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL's on About Box



BID,

> Dear BCB Users,
>     I have seen many programs using URLs in forms. Now as my turn came I
> want to do the same. I want to put URLs on the about box. I think this is
> mainly done by some third-party components, so if anyone knows the links to
> these components please let me have some. But if this can be done without
> any 3rdparty component and can be directly written in my codepage it is
> welcomed too. I just need to do this.

Yes, maybe it's easier to do it without 3rd party components, because it's so
simple. Drop down a label, set the color to clBlue, and the style to
underlined. This can be done in the object inspector. Also set the cursor to
crHandPoint. In the OnClick event handler, add the following:
ShellExecute(Handle, "open", "http://members.xoom.com/demjen",
NULL,NULL,SW_SHOWDEFAULT);
or
   ShellExecute(Handle, "open", "mailto:demjen@usa.net",
NULL,NULL,SW_SHOWDEFAULT);

Maybe easier than installing a component.

Tom






W Komornicki's Home Page | Main Index | Thread Index