Sign in to follow this  
Followers 0
Adam1213

links in an edit box

9 posts in this topic




I do not think you can have a link in an edit box but you can make a label into a link and move it according to where you want it. But then again, I may be wrong.

Share this post


Link to post
Share on other sites

the edit box could say

www.autoit3.com

and when iy is clicked on you could read the control... find what was clicked... see that it was this link... then run the explorer & link

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

better yet... just change this

guictrlcreateedit

to

guictrlcretelist

then each one is singularly selected by guictrlread

no sorting is needed

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

I don't know the specifics as I've not used the plugin, however RTF has the capability to embed hyperlinks. I might download the plugin now and take a look.

Share this post


Link to post
Share on other sites

Odd. I've been able to create an RTF that shows up as below in AbiWord:

however when I create an AutoIt GUI using the following code:

Local $RTFPlugin = PluginOpen('RTFPlugin.dll')
Local $GUI = GUICreate('Hyperlink Test', 320, 240)
GUISetState()
Local $RTFControl = GUICtrlCreateRTFEdit($GUI, 12, 12, 320 - 24, 240 - 24)
GUICtrlRTFLoad($RTFControl, 'LinkTest.rtf')
Sleep(2000)
PluginClose($RTFPlugin)

the RTF file shows up precisely like this:

that is, the URL is shown instead of being clickable; so now I'm not so sure how to achieve hyperlinks using the RTF plugin. Perhaps Lazycat himself will chance upon this thread and offer some advice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0