January 15, 200718 yr 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 ?
January 15, 200718 yr 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..
January 15, 200718 yr Author 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.
January 15, 200718 yr 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".
January 15, 200718 yr Author Your second option works a treat. Thank you for your time. It's much appreciated.
January 25, 200718 yr Newbies 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.
January 25, 200718 yr 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
January 26, 200718 yr Newbies 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.
January 26, 200718 yr Newbies Oops! never mind it is working. I have to click off the field before it shows correctly. Thanks so much.
Create an account or sign in to comment