Jump to content



Photo

Hyperlink in GUICtrlCreateEdit


  • Please log in to reply
2 replies to this topic

#1 Rodger

Rodger

    Wayfarer

  • Active Members
  • Pip
  • 58 posts

Posted 18 May 2011 - 02:51 PM

Hello,

I have the following:

$PATT_Edit = GUICtrlCreateEdit ("", -1, -1, 1230,675,$WS_HSCROLL+$WS_VSCROLL+$ES_READONLY)
GUICtrlSetData ($PATT_Edit, "Click here", 1)

I want the text "Click here" appear as a hyperlink in the EditBox. Is this possible?

Thnx,

Rodger







#2 YogiBear

YogiBear

    deFinitely not yoUr average bear!

  • MVPs
  • 9,953 posts

Posted 18 May 2011 - 04:06 PM

I don't think you can. The edit box behaves the same way as notepad. I could be wrong on this.

#3 YogiBear

YogiBear

    deFinitely not yoUr average bear!

  • MVPs
  • 9,953 posts

Posted 18 May 2011 - 04:11 PM

In researching further you may be able to embed a object that supports the hyperlink. Another approach could be using _GUICtrlRichEdit_Create. I don't know much about this UDF so you will have to experiment.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users