lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 03-07-2021, 08:11 PM
Ivandar Ivandar is offline
The Wary
 
Join Date: Mar 2021
Posts: 2
Markup, GetText() and GetTextLength()

So ... I've found I can use <rgb> commands if I set a label or text box to having markup.

Two questions.

(A) are there any other <> commands that markup activates?

(B) GetText() and GetTextLength() strip the <> commands out ... This makes GetTextLength() inaccurate (because I've found the <> commands contribute to the 'real' length of the label) and make it impossible to get, modify, and re-set the label's text (you lose the <> commands when you do).

I've made a workaround, which is to simply keep a separate copy of the text, but that's space inefficient.

Has Turbine provided a way to get the 'markedup' text and textlength?
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:29 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui