Navigation:  Reference > Form Objects > Common Properties >

EntryFont

Print this Topic Previous pageReturn to chapter overviewNext page

 

If EntryUseDflt is set to False (not checked) then this property controls what the text will look like when the object has focus (the user has moved to the object during data entry).  Where it appears depends on the object itself.

 

Each EntryFont property has 6 subproperties.  These are:

 

Charset - Defaults to ANSI_CHARSET.  This is the standard for all Western language countries.  There are different Charset values for non-Western alphabets.

 

Color - What color the font will use when displayed.  The possible colors are defined in COMPILERCONSTANTS.TXT.

 

Height - The height of the font in pixels.

 

Name - The name of the font.

 

Pitch - This can be fpDefault (the normal for the font chosen), fpFixed (each character has the same width), fpVariable (each character has a different width depending on the character).  The options for this property are defined in COMPILERCONTSTANTS.TXT.

 

       Size - The point size for the Font.  This is generally used when you specify the size or how big the font will be.

 

There is a Property Editor attached to this property that will allow you to choose a font from a list and set it's subproperties.  TFont can also be changed during runtime.  If you want to change it in your program you would refer to the property value as:  'EntryFont.Size' or 'EntryFont.Color', etc.

 


Page url: http://www.cassoftware.com/tas/manual/entryfont.htm