AVEVA Community
Site
Search
User
Site
Search
User
AVEVA World
PDMS/E3D Forum
PDMS Quick Tips & Customizations
Background colour in text field?
Forums
Resources
Mentions
Sub-Groups
Tags
More
Cancel
New
Replies
5 replies
Subscribers
2 subscribers
Views
9 views
Users
0 members are here
Options
Share
More
Cancel
Related
Background colour in text field?
KC
over 13 years ago
KC
over 13 years ago
Hi all.
How do I change the background colour in a textfield in my form?
I would like to change it into yellow.
Thanks in advance and merry christmas.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Rolf Suessbrich
over 13 years ago
!this.Gagdetname.Background = colour_number
Gadgetname is the .name of your Text gadget, colour_number is an integer.
You can try that in the command line with !!FormName.GadgetName.Bakground = value
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
KC
over 13 years ago
Doesn't work.
I get this error:
!!modifydrwgny.plantname.background = 2
(2,765) Cannot get member PLANTNAME from non-existent object
!!modifydrwgny is the name of the form
plantname is the name of the textlabel
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Rolf Suessbrich
over 13 years ago
The form must be shown! The messages says that !!modifydrwgny is not existing!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
KC
over 13 years ago
Even though the form is showing I still get the same error...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel