Jump to content

Recommended Posts

Posted (edited)

Why am I getting that error?

Edit:

yes I should have read the help file...

Edited by Info
  • 13 years later...
Posted

Replying specifically because I keep on making the same mistake and each time I have to search the net LOL

Instead of writing :

GUICtrlSetOnEvent(-1,"_My_Hyperlink") ; <<-- Proper code

I'd write :

GUICtrlSetOnEvent(-1,_My_Hyperlink()) ; BAD, even without the empty parenthesis it won't work 

You also want to add 

Opt("GUIOnEventMode", 1)

somewhere at the top of your program. 

Once that's done, make sure you call your hyperlink like this :

ShellExecute(GUICtrlRead(@GUI_CtrlId))

This assumes whatever text you have in your label is a valid internet ressource

 

Help a newbie, comment your code!

  • Developers
Posted

... then there is no need to bother us with it... is there? 

So please buy yourself a notepad and stop resurrecting old threads unnecessarily.  Thanks

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...