Jerry Keys
2008-02-14 05:24:40 UTC
I have a database of web site addresses (URLs). I have built a functioning
IntraWeb app in Delphi 2007 that successfully queries the database and gets
the URLs that match my selection criteria. My program is slightly similar in
concept to a Google search result. What I have not figured out how to do is
this...
I want to display the URLs of the result set so that the user can click on
any of the URLs and go to the web site.
I could use the IWURL object, but my result set of URLs will vary in
number -- sometimes it will be a few, sometimes a lot. My understanding of
the IWURL is that I would need to populate the web page with a bunch of them
and then assign actual URL addresses to individual IWURL objects. This
cannot be the best or only way to do this.
Also, if there many URLs it would be nice to programmatically show a set
number of them the page and show a "next" link to the next page.
Alternatively, it would be great if a IWMemo could be populated with
clickable URLs, or a IWGrid since those can have vertical scroll bars. But
they do not seem to have a property for populating them with clickable URL
values.
Thanks for you help.
Jerry
IntraWeb app in Delphi 2007 that successfully queries the database and gets
the URLs that match my selection criteria. My program is slightly similar in
concept to a Google search result. What I have not figured out how to do is
this...
I want to display the URLs of the result set so that the user can click on
any of the URLs and go to the web site.
I could use the IWURL object, but my result set of URLs will vary in
number -- sometimes it will be a few, sometimes a lot. My understanding of
the IWURL is that I would need to populate the web page with a bunch of them
and then assign actual URL addresses to individual IWURL objects. This
cannot be the best or only way to do this.
Also, if there many URLs it would be nice to programmatically show a set
number of them the page and show a "next" link to the next page.
Alternatively, it would be great if a IWMemo could be populated with
clickable URLs, or a IWGrid since those can have vertical scroll bars. But
they do not seem to have a property for populating them with clickable URL
values.
Thanks for you help.
Jerry