ancp Posted July 18, 2007 Posted July 18, 2007 Hi, please, how make URL link for label in GUI? I need clicktable lbl, not any btn. ... $GUI_LBL_LINK_TO_HOMEPAGE = GUICtrlCreateLabel("Click here to visit BLABLAH", 100, 100, 100, 100) .... And... ? Thanks
DW1 Posted July 18, 2007 Posted July 18, 2007 you can use the style $SS_NOTIFY for your label which will notify you when the user clicks it... like a button AutoIt3 Online Help
xcal Posted July 18, 2007 Posted July 18, 2007 #include <GuiConstants.au3> GUICreate('', 200, 100) $lbl = GUICtrlCreateLabel('Click Here', 75, 42, 50, 16) GUICtrlSetColor(-1, 0x0000FF) GUICtrlSetCursor(-1, 0) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $lbl ShellExecute('http://www.autoitscript.com') EndSwitch WEnd How To Ask Questions The Smart Way
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now