Newbies stcuthberts Posted February 24, 2007 Newbies Posted February 24, 2007 We want to assign a script to a button that will change the color of text in a particular field. We would have a number of different scripts for assigning different colours. Can this be done using a script. thanks
mr_vodka Posted February 24, 2007 Posted February 24, 2007 Just use a Set Field command with TextColor and script parameters to pass the desired color. Set Field [ yourfield; TextColor ( yourfield ; Get ( ScriptParameter ) ) ] Sample script parameters: For Red - RGB ( 255; 0; 0 ) For Green - RGB ( 0; 255; 0 ) For Blue - RGB ( 0; ; 255 )
Lee Smith Posted February 24, 2007 Posted February 24, 2007 Hi Mr V has posted what I was going to, but you might want to also take a look at this post of mine, and the link to the file at databasepros Link HTH Lee
Recommended Posts
This topic is 6483 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now