adrain Posted January 15, 2007 Posted January 15, 2007 I have a text field in each record for users to enter comments into. I want it to be a certain font/size. How can I stop users from selecting another font/size so when I print it all out, all the comments are my choice of font and size. Seems a simple thing to do, yet I have searched and not found the answer. can it be done ?
dazlunn Posted January 15, 2007 Posted January 15, 2007 You should be able to do this by removing their design privileges, I can't exactly remember how this works in FM6 (I don't have FM6 at home or I would check it) but explore this option first..
adrain Posted January 15, 2007 Author Posted January 15, 2007 I forgot to update my profile. I am using FM 8.5 if that is any help. I can't see how to disable design functions.
Ender Posted January 15, 2007 Posted January 15, 2007 In FM8/8.5, you can disable the formatting menu for a privilege set by either changing the privilege set's menu access to "Minimum", or using a custom menu set that doesn't have the formatting options available. Alternatively, you can have specific fields always revert their formatting to the default by adding an auto-enter calculation to the field definition of: TextFormatRemove(Field), and unchecking the option to "do not replace existing value".
adrain Posted January 15, 2007 Author Posted January 15, 2007 Your second option works a treat. Thank you for your time. It's much appreciated.
Newbies BitCom Posted January 25, 2007 Newbies Posted January 25, 2007 How do I get this to work for text that is pasted into a field? It seems to want to bring the font formating with it.
Lee Smith Posted January 25, 2007 Posted January 25, 2007 You have two options using Keyboard combinations (and there is Script Steps that do this too) You can paste the Clipboard content using Cmd V (this what you have been doing) You can Paste the Clipboard content using Cmd Option V (this paste with without style, meaning it will use the style of the field you are pasting into) The Auto Enter method is the best in My Opinion for what you have described. Go into Define Fields and select the Field Involved. Click on the Option Button Select Calculated Value TextFormatRemove(Field) Click Okay. [color:red]Deselect the Option "[color:blue]Do not replace existing value of field "if any" Click Okay HTH Lee
Newbies BitCom Posted January 26, 2007 Newbies Posted January 26, 2007 Thanks Lee. For some reason neither of your suggestions seem to work. Is there something else I have set wrong? I notice in Field Control I have "Synchronize with fields font" selected. Is that a no-no? Thanks again for your help.
Newbies BitCom Posted January 26, 2007 Newbies Posted January 26, 2007 Oops! never mind it is working. I have to click off the field before it shows correctly. Thanks so much.
Recommended Posts
This topic is 6512 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