View Single Post
06-11-20, 07:38 PM   #7
Antiklesys
A Murloc Raider
Join Date: Jun 2020
Posts: 5
Thanks,

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:
Code:
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:

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