WoWInterface - View Single Post - need some help for an editbox
View Single Post
06-11-20, 07:38 PM   #7
A Murloc Raider
Join Date: Jun 2020
Posts: 5

In my specific use case I'm in need to paste a looooooooong text in there hence why I wanted to use the text frame rather than the Static Popup Dialog I guess.

I tried working with your other code example with the "Okay" button but I'm getting some errors in the code,
it seems this line is making some fuss:
KethoEditBoxButton:HookScript("OnClick", function(self)
I was able to modify it to use the "escape" key instead but this is just a temporary solution till I figure out how to use the Okay button instead:

	eb:SetScript("OnEscapePressed", function(self)
		lootlist = eb:GetText()
Any help is welcome as these UI elements are completely a new territory for me.
  Reply With Quote