View Single Post
05/29/18, 10:47 PM   #2
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
only valid control function are here:
http://wiki.esoui.com/Controls#EditControl

because your reference is an edit control:
ZO_DefaultEditMultiLineForBackdrop

as far i see, ZOS running like this:
xml Code:
  1. <Backdrop name="$(parent)DescriptionBody" inherits="ZO_MultiLineEditBackdrop_Keyboard">
  2.      <Dimensions x="550" y="150"/>
  3.      <Anchor point="TOPLEFT" relativeTo="$(parent)DescriptionTitle" relativePoint="BOTTOMLEFT" offsetY="10" />
  4.           <EditBox name="$(parent)Field" inherits="ZO_DefaultEditMultiLineForBackdrop ZO_EditDefaultText"/>
  5.      </Controls>
  6. </Backdrop>

in the inherit there is ZO_EditDefaultText: DescriptionBodyFieldText:SetColor(1,1,1,1)

maybe this works for the lua too:
page = WINDOW_MANAGER:CreateControlFromVirtual("someparent", someplace, "ZO_DefaultEditMultiLineForBackdrop ZO_EditDefaultText")
pageText:SetColor(1,1,1,1) ?
  Reply With Quote