Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Object.SetForeColor(tfr, tfg, tfb)


Code Block
titleXFRX 24.0
Object.SetForeColor(tfr, tfg, tfb, tfa)

Parameters

tfr, tfg, tfb, tfA
  Red, green, blue and alpha components of the foreground color. If not alpha component specified, thend efault value is 255.

...

Applies To: XFRX#DRAW, XFRX#XMLPDFL#INIT

Examples

Code Block
*
m.loDRAW=EVALUATE([xfrx("XFRX#DRAW")])
m.loDRAW.SetForeColor(255, 0, 0)


Code Block
titleForecolor with alpha
m.loDRAW=EVALUATE([xfrx("XFRX#DRAW)"])
m.loDRAW.SetForeColor(255, 0, 0, 128)