How To Automaticaly Control The Color Of A Text From An Access Field
Good morning,
I am new in this forum (and a new bartender user too), so sorry in advance if this topic has been already made but I didn't find it.
I have the text of my labels in bartender from an Office Access 2007 data base.
In one field, I have the color in wich one I would like to print the text with baretender.
How can I do to use this field in bartender in order to print the text in the correct color. The color can change at each label.
Thanks for your consideration.
-
Shotaro Ito
★ BarTender Hero ★
BarTender Automation edition (Ver 9.3 or later) has such function, though you need some VB Script.
this topic might helps:
http://forums.seagullscientific.com/index.php?/topic/213-how-to-change-object-properties/
0 -
Thank you for your answer.
I will study that.
0 -
I put this :
Set Texte = Objects(Field("Etiquettes.Nom_produit"))
If (Field("Etiquettes.Couleur")) = “Red”) Then
Texte.TextColor = btColor.Red
Else
Texte.TextColor = btColor.Green
End IfBut I have a script error message.
I am not too much familiar with VBscript .....
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare