Saltar al contenido principal

Búsqueda

Búsqueda

Object error when dynamically changing font color in script.

Comentarios

2 comentarios

  • Avatar
    KM3

    I don't think using a class object like this works... Idk, could be wrong. But I'm pretty sure you can't manipulate objects (layout elements) in the OnProcessData event. Go to File > Document Options > VBScript (off the top of my head). Enter the script there. To reference your "Text 10" element, simply write Format.Objects("Text 10").TextColor  = btColor.White. Or similar. Shouldn't be too hard to figure out.

    0
  • Avatar
    Todd Hansen

    That got it working.

    Thanks

     

    0

Iniciar sesión para dejar un comentario.