![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#4
|
|||
|
|||
![]()
Kathy wrote:
Could you explain a little more of how to "trap the click event of the text box" "Sachin Sancheti" wrote: Some workaround. Set the forecolor to blue and text underlined. So the text would appear as hyperlink. Trap the click event of the text box and open a new IE to navigate to the hyperlink. Kathy, You need to do two things. First, in design mode, click on the text control you intend to use for the hyperlink. Right click and choose Advanced Properties. In the Tag section, put the URL for the hyperlink here. Then, in the Script Editor, here's what you'll need to do to trap the event: (this is sample code, assuming your text control is named lblClick) Sub lblClick_Click() Set objWeb = CreateObject("InternetExplorer.Application") objWeb.Navigate Item.GetInspector.ModifiedFormPages _ ("P.2").Controls("lblClick").Tag objWeb.Visible = True Set objWeb = Nothing End Sub I'm using a Post form type, so the GetInspector.ModifiedFormPages page needs to match the page for your form. This will launch a new browser window and navigate to the site in the Tag property. Hope this helps. Tom Renfro Integris Health, Oklahoma City |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inserting Email Signature | Talia | Outlook - General Queries | 2 | March 6th 06 09:03 PM |
hyperlink failure | Popster | Outlook - Installation | 1 | February 28th 06 08:20 PM |
inserting address book into website | I386 | Outlook - Using Contacts | 4 | February 26th 06 09:01 PM |
Inserting a picture in the message body of a custom form | groom | Outlook - General Queries | 1 | February 8th 06 11:08 PM |
Hyperlink Color | Brian | Outlook - Installation | 0 | January 17th 06 07:57 PM |