drvolk
June 15th, 2019, 08:28
I have a string control like that:
<label_fieldtop name="label">
<anchored position="insidetopleft" offset="10,5" width="30" />
<frame name="abilityscore" />
</label_fieldtop>
How can i change the color of the bitmap, set in frame "abilityscor", is it possible ?
I tried:
label.setColor("ff0000") which changed the text color.
label.setBackColor("ff0000") which changed the color behind the frame ...
label.abilityscore.setColor("ff0000") which results in a "attempt to index .. nil value .." error ...
<label_fieldtop name="label">
<anchored position="insidetopleft" offset="10,5" width="30" />
<frame name="abilityscore" />
</label_fieldtop>
How can i change the color of the bitmap, set in frame "abilityscor", is it possible ?
I tried:
label.setColor("ff0000") which changed the text color.
label.setBackColor("ff0000") which changed the color behind the frame ...
label.abilityscore.setColor("ff0000") which results in a "attempt to index .. nil value .." error ...