Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hyperlink in vfp program file (prg) 1

Status
Not open for further replies.

adcounsel1

Programmer
Jan 27, 2005
46
PK
How i can hyperlink text in simple vfp data entry.
 

Please re-state your question. It is unclear what you need.
Do you want to trigger internet explorer to open when the user clicks on a hyperlink on a form?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks for your attention.

I need to hyperlink a text to open a website on normal data entry session. I have done this on form but cant got success in prg code.
 
I have done this on form but cant got success in prg code.

Two things.
1. Can you show a hyperlink in a textbox?
Use underlined font and change the font to blue.

2. When you double-click on the textbox, can you start Internet explorer to get to the site?

In the doubleclick event of your textbox, use soemthing like.
Code:
Local lcURL
store ALLTRIM(this.value) to lcURL
o = CREATEOBJECT('hyperlink')
o.NavigateTo(lcUrl)


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top