WoWInterface - View Single Post - Set default text in a text box
View Single Post
07-03-21, 05:58 PM   #6
A Flamescale Wyrmkin
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 142
Hi Fizzlemizz

Cracked it!

You provided the answer, I simply took it to the end.
Lua Code:
  1. NewbDevBoxInterfaceFrame.ScaleTextBox:SetCursorPosition(0)

Now it works perfectly, regardless of the font object, as long as the text box is big enough to accommodate the font size.

Thanks for your help
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
  Reply With Quote