February 24, 200718 yr Newbies 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
February 24, 200718 yr 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 )
February 24, 200718 yr 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
Create an account or sign in to comment