Page 1 of 1
Font
Posted: 2003-02-25 11:19:20
by Turtle
How can I set the font used for screen display of info in AMC ?
Posted: 2003-02-25 14:35:39
by antp
it is not really an option; but it is possible:
just edit the langage file that you use (english.lng if you use default, then you'll have to use this one instead of the default) and find e.g. the line :
MainWindow.FrmMovie.LOriginalTitle.Caption=Original Title:
This is the line that sets the label in front of the Original Title field
Insert these lines if you want for example change the font type and font size:
MainWindow.FrmMovie.LOriginalTitle.Font.Name=Times New Roman
MainWindow.FrmMovie.LOriginalTitle.Font.Size=12
You'll have to do it for each field that you want to modify
If you want to set the same font to all the fields, instead of inserting a line for each you can simply insert these lines :
MainWindow.FrmMovie.Font.Name=Times New Roman
MainWindow.FrmMovie.Font.Size=12
All the fields will inherit from this.
(in this example the size is not really well chosed since it is a little too big)
A question: why do you want to change the font ?
Posted: 2003-02-25 16:42:38
by turtle
I am playing around a bit with the display. I would like to see actors and roles in two aligned columns. If I can change to a fixed size font I can maybe achieve that by putting a tab between the two values.
Posted: 2003-02-25 16:55:47
by antp
You can put several tabs but I am not sure that it will be possible to get a real two columns display.
Another solution is to use a fixed-width font for this field (Fixedsys, Courrier New, ...) and to use spaces to align the second column.
Posted: 2003-02-26 13:00:18
by turtle
Okay, with your suggestion I can change the font per label, or for all fields&labels. Is there also a way to set only the font for a datafield ? For example only change the font for the data in the Actors field?
Posted: 2003-02-26 15:58:59
by antp
Fields have a name beginning with a "E" (Edit...) :
MainWindow.FrmMovie.EActors.Font.Name=...
Posted: 2003-04-05 13:59:42
by ZoNi
antp wrote:it is not really an option; but it is possible:
This is the line that sets the label in front of the Original Title field
Insert these lines if you want for example change the font type and font size:
MainWindow.FrmMovie.LOriginalTitle.Font.Name=Times New Roman
MainWindow.FrmMovie.LOriginalTitle.Font.Size=12
and how about BOLD and ITALIC??? Can that be set here?
Posted: 2003-04-05 14:19:25
by antp
try with ....Font.Style=
0 for normal
1 for bold
2 for italic
3 for bold+italic
4 for underline
5 for bold+underline
6 for italic+underline
7 for bold+italic+underline
Posted: 2003-04-06 16:37:36
by ZoNi
thanks for quick response!!!
I guess it should be: Font.Style=
Posted: 2003-04-06 18:04:56
by antp
right
I modified it
Posted: 2003-04-07 15:13:28
by ZoNi
but this doesn't work with my WinXP... ???
actually, when I add this line, NOTHING happens...
any idea?
Posted: 2003-04-07 16:39:43
by antp
I was not sure it would work... so it does not seem to work