dbTalk Databases Forums  

How change the font of a field?

comp.databases.filemaker comp.databases.filemaker


Discuss How change the font of a field? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Colonel Olrik
 
Posts: n/a

Default How change the font of a field? - 04-02-2007 , 07:02 AM






Do you know a script to change automatically the character font of a
field and the size.
For exemple :
set the font to verdana
set the font to 12

Thanks.


Reply With Quote
  #2  
Old   
VoicesInMyHead
 
Posts: n/a

Default Re: How change the font of a field? - 04-02-2007 , 08:00 AM






On Apr 2, 5:02 am, Colonel Olrik <noreplycolonelol... (AT) free (DOT) fr> wrote:
Quote:
Do you know a script to change automatically the character font of a
field and the size.
For exemple :
set the font to verdana
set the font to 12

Thanks.
You don't say what version you are working in, so this is assuming
v8.5.

It really depends on what you mean by "automatically" - During text
input? During script Import? Copy paste?
look at the help file for Text Formatting Functions, it will show you
all the functions you have for manipulating text. For the examples
you mentioned, take a look at:
TextFont
TextSize

Good luck!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Reality is the leading cause of stress...
....amongst those in touch with it.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
WinXP Pro 64Bit / FMP Adv 8.5v2
VoicesInMyHead
a.k.a. The Voices
No, we're not... Yes, we are...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply With Quote
  #3  
Old   
Colonel Olrik
 
Posts: n/a

Default Re: How change the font of a field? - 04-02-2007 , 09:41 AM



Well i have the 8.5 version. When i find some informations (text) on
the web i copy the text in my database in a field. But the font is
always different, and the script must change after copy to verdana 10.
Thanks for your first answer.

On 2007-04-02 15:00:51 +0200, "VoicesInMyHead" <voices.imh (AT) gmail (DOT) com> said:

Quote:
On Apr 2, 5:02 am, Colonel Olrik <noreplycolonelol... (AT) free (DOT) fr> wrote:
Do you know a script to change automatically the character font of a
field and the size.
For exemple :
set the font to verdana
set the font to 12

Thanks.

You don't say what version you are working in, so this is assuming
v8.5.

It really depends on what you mean by "automatically" - During text
input? During script Import? Copy paste?
look at the help file for Text Formatting Functions, it will show you
all the functions you have for manipulating text. For the examples
you mentioned, take a look at:
TextFont
TextSize

Good luck!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Reality is the leading cause of stress...
...amongst those in touch with it.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
WinXP Pro 64Bit / FMP Adv 8.5v2
VoicesInMyHead
a.k.a. The Voices
No, we're not... Yes, we are...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply With Quote
  #4  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: How change the font of a field? - 04-02-2007 , 09:48 AM



In addition to "TextFont" and "TextSize", take a look at "auto-enter
calculations"

Colonel Olrik wrote:
Quote:
Well i have the 8.5 version. When i find some informations (text) on the
web i copy the text in my database in a field. But the font is always
different, and the script must change after copy to verdana 10. Thanks
for your first answer.

On 2007-04-02 15:00:51 +0200, "VoicesInMyHead" <voices.imh (AT) gmail (DOT) com> said:

For the examples
you mentioned, take a look at:
TextFont
TextSize

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg
FM Professional Solutions, Inc. Los Angeles

FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #5  
Old   
VoicesInMyHead
 
Posts: n/a

Default Re: How change the font of a field? - 04-02-2007 , 10:36 AM




Quote:
- Show quoted text -
Strange... When I set a field to be a specific Font and Size, no
matter what I copy and paste from the Web, it is pasted as the correct
Font & Size that I set the field to be. Even when I copy text that is
a link on the Web, it will paste as the correct text format - font,
size & even color... Of course I am on Windows, and I am not sure
what results a Mac would have.



Reply With Quote
  #6  
Old   
Ursus
 
Posts: n/a

Default Re: How change the font of a field? - 04-02-2007 , 10:41 AM




"Colonel Olrik" <noreplycolonelolrik (AT) free (DOT) fr> schreef in bericht
news:46111628$0$23621$426a74cc (AT) news (DOT) free.fr...
Quote:
Well i have the 8.5 version. When i find some informations (text) on the
web i copy the text in my database in a field. But the font is always
different, and the script must change after copy to verdana 10. Thanks for
your first answer.

On 2007-04-02 15:00:51 +0200, "VoicesInMyHead" <voices.imh (AT) gmail (DOT) com
said:



Use CTRL-SHIFT-V to paste without styles in FileMaker

Keep well, Ursus




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.