View Single Post
07/25/19, 06:43 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,979
Originally Posted by Scootworks View Post
you can use GetItemLinkName(string itemLink) maybe?
This would only show the item's name but Phuein want's to see the link's complete text instead of the "generated link" from the text.

If the editbox alwasy changes the text to show as link there must be some underlying function or method which parses the contents and creates the link.
Do you use a template for your editbox or what type of control do you create the editbox with? Maybe you can "inherit" from another type of editbox (maybe a LAM 2.0 editbox if it does not the same ZOs box converting the contents to an itemlink) or overwrite your editbox function which generates the itemlink from the text contents (guess it must be something like OnTextChange or something like that?).

If I mark an itemlink via mouse and press CTRL+C I'll have the "|H1:item:1058..." in my clipboard so it basically uses the text and just "shows it differently".
  Reply With Quote