กระทู้เก่าบอร์ด อ.สุภาพ ไชยา
293 1
URL.หัวข้อ /
URL
Automatic Display of a Hyperlink in a form
ถามไว้ที่
http://www.utteraccess.com/forums/showflat.php?Cat=&Board=access_2000&Number=108628&Forum=CatSearch-2&Words=TimK&Match=Username&Searchpage=0&Limit=25&Old=allposts&Main=108508&Search=true#Post108628
ดังนี้
I am trying to displaya hyperlink in a picture or bounded box automatically
when a form is opened. I would like it to display much like the img src tag works
in html. So far, I have only been able to find information on creating a hyperlink
to click on and then view some doc or html page. Anyone have any other info?
Thanks,
METOCLT
ผมตอบไปดังนี้
You should see the souce file on the hyperlink in the Status Bar when you move mouse over it. That's what you want.
If you want the tag to appear next to your mouse pointer, you can use Control Tip Text. I use the code below to assign the path of the hyperlink control (myhyperlink) to the Control Tip Text property. I use it on On Current of the form.
code:
--------------------------------------------------------------------------------
Private Sub Form_Current()
On Error Resume Next
If Not IsNull(Me.myhyperlink.hyperlink.Address) Then
Me.myhyperlink.ControlTipText = Me.myhyperlink.hyperlink.Address
End If
End Sub
--------------------------------------------------------------------------------
Or if you want to get the path of Linked OLE object, check How to Retrieve the Path for Linked OLE Objects (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q199066). This does not work for Embeded OLE object.
http://www.utteraccess.com/forums/showflat.php?Cat=&Board=access_2000&Number=108628&Forum=CatSearch-2&Words=TimK&Match=Username&Searchpage=0&Limit=25&Old=allposts&Main=108508&Search=true#Post108628
ดังนี้
I am trying to displaya hyperlink in a picture or bounded box automatically
when a form is opened. I would like it to display much like the img src tag works
in html. So far, I have only been able to find information on creating a hyperlink
to click on and then view some doc or html page. Anyone have any other info?
Thanks,
METOCLT
ผมตอบไปดังนี้
You should see the souce file on the hyperlink in the Status Bar when you move mouse over it. That's what you want.
If you want the tag to appear next to your mouse pointer, you can use Control Tip Text. I use the code below to assign the path of the hyperlink control (myhyperlink) to the Control Tip Text property. I use it on On Current of the form.
code:
--------------------------------------------------------------------------------
Private Sub Form_Current()
On Error Resume Next
If Not IsNull(Me.myhyperlink.hyperlink.Address) Then
Me.myhyperlink.ControlTipText = Me.myhyperlink.hyperlink.Address
End If
End Sub
--------------------------------------------------------------------------------
Or if you want to get the path of Linked OLE object, check How to Retrieve the Path for Linked OLE Objects (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q199066). This does not work for Embeded OLE object.
1 Reply in this Topic. Dispaly 1 pages and you are on page number 1
1 @R06583
Time: 0.1199s