mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 20:40:25 +02:00
Examples, FontEnum: removed LRS file and fixed encoding related issues
git-svn-id: trunk@39622 -
This commit is contained in:
parent
5b55b8bf05
commit
8092042547
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4207,7 +4207,6 @@ examples/fbadmin/formunit.pas svneol=native#text/plain
|
|||||||
examples/fontenum/fontenumeration.lpi svneol=native#text/plain
|
examples/fontenum/fontenumeration.lpi svneol=native#text/plain
|
||||||
examples/fontenum/fontenumeration.lpr svneol=native#text/pascal
|
examples/fontenum/fontenumeration.lpr svneol=native#text/pascal
|
||||||
examples/fontenum/mainunit.lfm svneol=native#text/plain
|
examples/fontenum/mainunit.lfm svneol=native#text/plain
|
||||||
examples/fontenum/mainunit.lrs svneol=native#text/pascal
|
|
||||||
examples/fontenum/mainunit.pas svneol=native#text/pascal
|
examples/fontenum/mainunit.pas svneol=native#text/pascal
|
||||||
examples/fpdocmanager/FPDocManager.lpi svneol=native#text/plain
|
examples/fpdocmanager/FPDocManager.lpi svneol=native#text/plain
|
||||||
examples/fpdocmanager/FPDocManager.lpr svneol=native#text/plain
|
examples/fpdocmanager/FPDocManager.lpr svneol=native#text/plain
|
||||||
|
@ -8,9 +8,10 @@
|
|||||||
<SaveOnlyProjectUnits Value="True"/>
|
<SaveOnlyProjectUnits Value="True"/>
|
||||||
<LRSInOutputDirectory Value="False"/>
|
<LRSInOutputDirectory Value="False"/>
|
||||||
</Flags>
|
</Flags>
|
||||||
|
<SessionStorage Value="InProjectDir"/>
|
||||||
<MainUnit Value="0"/>
|
<MainUnit Value="0"/>
|
||||||
<Title Value="project1"/>
|
<Title Value="project1"/>
|
||||||
<ActiveWindowIndexAtStart Value="0"/>
|
<ResourceType Value="res"/>
|
||||||
</General>
|
</General>
|
||||||
<BuildModes Count="1">
|
<BuildModes Count="1">
|
||||||
<Item1 Name="default" Default="True"/>
|
<Item1 Name="default" Default="True"/>
|
||||||
@ -38,21 +39,14 @@
|
|||||||
<Filename Value="fontenumeration.lpr"/>
|
<Filename Value="fontenumeration.lpr"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<UnitName Value="fontenumeration"/>
|
<UnitName Value="fontenumeration"/>
|
||||||
<TopLine Value="1"/>
|
|
||||||
<CursorPos X="44" Y="15"/>
|
|
||||||
<UsageCount Value="158"/>
|
|
||||||
</Unit0>
|
</Unit0>
|
||||||
<Unit1>
|
<Unit1>
|
||||||
<Filename Value="mainunit.pas"/>
|
<Filename Value="mainunit.pas"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<ComponentName Value="frmMain"/>
|
<ComponentName Value="frmMain"/>
|
||||||
|
<HasResources Value="True"/>
|
||||||
|
<ResourceBaseClass Value="Form"/>
|
||||||
<UnitName Value="mainunit"/>
|
<UnitName Value="mainunit"/>
|
||||||
<EditorIndex Value="0"/>
|
|
||||||
<WindowIndex Value="0"/>
|
|
||||||
<TopLine Value="1"/>
|
|
||||||
<CursorPos X="47" Y="9"/>
|
|
||||||
<UsageCount Value="158"/>
|
|
||||||
<Loaded Value="True"/>
|
|
||||||
</Unit1>
|
</Unit1>
|
||||||
</Units>
|
</Units>
|
||||||
</ProjectOptions>
|
</ProjectOptions>
|
||||||
@ -80,5 +74,4 @@
|
|||||||
</Item2>
|
</Item2>
|
||||||
</Exceptions>
|
</Exceptions>
|
||||||
</Debugging>
|
</Debugging>
|
||||||
<EditorMacros Count="0"/>
|
|
||||||
</CONFIG>
|
</CONFIG>
|
||||||
|
@ -8,7 +8,6 @@ uses
|
|||||||
{ add your units here }, mainunit;
|
{ add your units here }, mainunit;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Application.Title:='project1';
|
|
||||||
Application.Initialize;
|
Application.Initialize;
|
||||||
Application.CreateForm(TfrmMain, frmMain);
|
Application.CreateForm(TfrmMain, frmMain);
|
||||||
Application.Run;
|
Application.Run;
|
||||||
|
@ -7,62 +7,59 @@ object frmMain: TfrmMain
|
|||||||
VertScrollBar.Page = 439
|
VertScrollBar.Page = 439
|
||||||
ActiveControl = lbFamily
|
ActiveControl = lbFamily
|
||||||
Caption = 'frmMain'
|
Caption = 'frmMain'
|
||||||
|
ClientHeight = 440
|
||||||
|
ClientWidth = 714
|
||||||
OnCloseQuery = FormCloseQuery
|
OnCloseQuery = FormCloseQuery
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnShow = FormShow
|
OnShow = FormShow
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
|
LCLVersion = '1.1'
|
||||||
object Label3: TLabel
|
object Label3: TLabel
|
||||||
Left = 548
|
Left = 548
|
||||||
Height = 13
|
Height = 13
|
||||||
Top = 257
|
Top = 257
|
||||||
Width = 29
|
Width = 24
|
||||||
Caption = 'Filtro'
|
Caption = 'Filtro'
|
||||||
Color = clNone
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object Label4: TLabel
|
object Label4: TLabel
|
||||||
Left = 216
|
Left = 216
|
||||||
Height = 13
|
Height = 13
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 73
|
Width = 62
|
||||||
Caption = 'Face font list'
|
Caption = 'Face font list'
|
||||||
Color = clNone
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object Label5: TLabel
|
object Label5: TLabel
|
||||||
Left = 424
|
Left = 424
|
||||||
Height = 13
|
Height = 13
|
||||||
Top = 11
|
Top = 11
|
||||||
Width = 35
|
Width = 29
|
||||||
Caption = 'Styles'
|
Caption = 'Styles'
|
||||||
Color = clNone
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object Sizes: TLabel
|
object Sizes: TLabel
|
||||||
Left = 648
|
Left = 648
|
||||||
Height = 13
|
Height = 13
|
||||||
Top = 11
|
Top = 11
|
||||||
Width = 31
|
Width = 24
|
||||||
Caption = 'Sizes'
|
Caption = 'Sizes'
|
||||||
Color = clNone
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object lblCharset: TLabel
|
object lblCharset: TLabel
|
||||||
Left = 424
|
Left = 424
|
||||||
Height = 13
|
Height = 13
|
||||||
Top = 176
|
Top = 176
|
||||||
Width = 57
|
Width = 48
|
||||||
Caption = 'lblCharset'
|
Caption = 'lblCharset'
|
||||||
Color = clNone
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object Label6: TLabel
|
object Label6: TLabel
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 13
|
Height = 13
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 29
|
Width = 24
|
||||||
Caption = 'Filter'
|
Caption = 'Filter'
|
||||||
Color = clNone
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object lbFamily: TListBox
|
object lbFamily: TListBox
|
||||||
@ -70,17 +67,16 @@ object frmMain: TfrmMain
|
|||||||
Height = 272
|
Height = 272
|
||||||
Top = 32
|
Top = 32
|
||||||
Width = 200
|
Width = 200
|
||||||
|
ItemHeight = 0
|
||||||
OnClick = lbFamilyClick
|
OnClick = lbFamilyClick
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
TopIndex = -1
|
|
||||||
end
|
end
|
||||||
object cbCharset: TComboBox
|
object cbCharset: TComboBox
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 21
|
Height = 21
|
||||||
Top = 37
|
Top = 37
|
||||||
Width = 194
|
Width = 194
|
||||||
AutoCompleteText = [cbactEndOfLineComplete, cbactSearchAscending]
|
ItemHeight = 13
|
||||||
MaxLength = 0
|
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Text = 'ANSI_CHARSET'
|
Text = 'ANSI_CHARSET'
|
||||||
end
|
end
|
||||||
@ -99,34 +95,34 @@ object frmMain: TfrmMain
|
|||||||
Height = 128
|
Height = 128
|
||||||
Top = 32
|
Top = 32
|
||||||
Width = 208
|
Width = 208
|
||||||
|
ItemHeight = 0
|
||||||
OnClick = lbStylesClick
|
OnClick = lbStylesClick
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
TopIndex = -1
|
|
||||||
end
|
end
|
||||||
object lbSizes: TListBox
|
object lbSizes: TListBox
|
||||||
Left = 640
|
Left = 640
|
||||||
Height = 272
|
Height = 272
|
||||||
Top = 32
|
Top = 32
|
||||||
Width = 56
|
Width = 56
|
||||||
|
ItemHeight = 0
|
||||||
OnClick = lbSizesClick
|
OnClick = lbSizesClick
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
TopIndex = -1
|
|
||||||
end
|
end
|
||||||
object lbCharset: TListBox
|
object lbCharset: TListBox
|
||||||
Left = 424
|
Left = 424
|
||||||
Height = 112
|
Height = 112
|
||||||
Top = 192
|
Top = 192
|
||||||
Width = 208
|
Width = 208
|
||||||
|
ItemHeight = 0
|
||||||
OnClick = lbCharsetClick
|
OnClick = lbCharsetClick
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
TopIndex = -1
|
|
||||||
end
|
end
|
||||||
object cbPitch: TComboBox
|
object cbPitch: TComboBox
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 21
|
Height = 21
|
||||||
Top = 61
|
Top = 61
|
||||||
Width = 194
|
Width = 194
|
||||||
AutoCompleteText = [cbactEndOfLineComplete, cbactSearchAscending]
|
ItemHeight = 13
|
||||||
ItemIndex = 0
|
ItemIndex = 0
|
||||||
Items.Strings = (
|
Items.Strings = (
|
||||||
'DEFAULT_PITCH'
|
'DEFAULT_PITCH'
|
||||||
@ -134,7 +130,6 @@ object frmMain: TfrmMain
|
|||||||
'VARIABLE_PITCH'
|
'VARIABLE_PITCH'
|
||||||
'MONO_FONT'
|
'MONO_FONT'
|
||||||
)
|
)
|
||||||
MaxLength = 0
|
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
Text = 'DEFAULT_PITCH'
|
Text = 'DEFAULT_PITCH'
|
||||||
end
|
end
|
||||||
@ -150,17 +145,17 @@ object frmMain: TfrmMain
|
|||||||
end
|
end
|
||||||
object chkStrike: TCheckBox
|
object chkStrike: TCheckBox
|
||||||
Left = 591
|
Left = 591
|
||||||
Height = 20
|
Height = 17
|
||||||
Top = 312
|
Top = 312
|
||||||
Width = 72
|
Width = 61
|
||||||
Caption = 'Strikeout'
|
Caption = 'Strikeout'
|
||||||
TabOrder = 8
|
TabOrder = 8
|
||||||
end
|
end
|
||||||
object chkUnderLine: TCheckBox
|
object chkUnderLine: TCheckBox
|
||||||
Left = 592
|
Left = 592
|
||||||
Height = 20
|
Height = 17
|
||||||
Top = 336
|
Top = 336
|
||||||
Width = 81
|
Width = 66
|
||||||
Caption = 'UnderLine'
|
Caption = 'UnderLine'
|
||||||
TabOrder = 9
|
TabOrder = 9
|
||||||
end
|
end
|
||||||
@ -182,17 +177,18 @@ object frmMain: TfrmMain
|
|||||||
AutoFillColumns = True
|
AutoFillColumns = True
|
||||||
ColCount = 1
|
ColCount = 1
|
||||||
DefaultRowHeight = 17
|
DefaultRowHeight = 17
|
||||||
FixedColor = clBtnFace
|
|
||||||
FixedCols = 0
|
FixedCols = 0
|
||||||
FixedRows = 0
|
FixedRows = 0
|
||||||
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
|
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
|
||||||
RowCount = 5
|
|
||||||
ScrollBars = ssAutoBoth
|
|
||||||
TabOrder = 11
|
TabOrder = 11
|
||||||
TabStop = True
|
ColWidths = (
|
||||||
|
364
|
||||||
|
)
|
||||||
end
|
end
|
||||||
object FontDialog1: TFontDialog
|
object FontDialog1: TFontDialog
|
||||||
Title = 'Select a font'
|
Title = 'Select a font'
|
||||||
|
MinFontSize = 0
|
||||||
|
MaxFontSize = 0
|
||||||
left = 312
|
left = 312
|
||||||
top = 384
|
top = 384
|
||||||
end
|
end
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
{ This is an automatically generated lazarus resource file }
|
|
||||||
|
|
||||||
LazarusResources.Add('TfrmMain','FORMDATA',[
|
|
||||||
'TPF0'#8'TfrmMain'#7'frmMain'#4'Left'#2'!'#6'Height'#3#184#1#3'Top'#2't'#5'Wi'
|
|
||||||
+'dth'#3#202#2#18'HorzScrollBar.Page'#3#201#2#18'VertScrollBar.Page'#3#183#1
|
|
||||||
+#13'ActiveControl'#7#8'lbFamily'#7'Caption'#6#7'frmMain'#12'OnCloseQuery'#7
|
|
||||||
+#14'FormCloseQuery'#8'OnCreate'#7#10'FormCreate'#6'OnShow'#7#8'FormShow'#8'S'
|
|
||||||
+'howHint'#9#0#6'TLabel'#6'Label3'#4'Left'#3'$'#2#6'Height'#2#13#3'Top'#3#1#1
|
|
||||||
+#5'Width'#2#29#7'Caption'#6#6'Filtro'#5'Color'#7#6'clNone'#11'ParentColor'#8
|
|
||||||
+#0#0#6'TLabel'#6'Label4'#4'Left'#3#216#0#6'Height'#2#13#3'Top'#2#16#5'Width'
|
|
||||||
+#2'I'#7'Caption'#6#14'Face font list'#5'Color'#7#6'clNone'#11'ParentColor'#8
|
|
||||||
+#0#0#6'TLabel'#6'Label5'#4'Left'#3#168#1#6'Height'#2#13#3'Top'#2#11#5'Width'
|
|
||||||
+#2'#'#7'Caption'#6#6'Styles'#5'Color'#7#6'clNone'#11'ParentColor'#8#0#0#6'TL'
|
|
||||||
+'abel'#5'Sizes'#4'Left'#3#136#2#6'Height'#2#13#3'Top'#2#11#5'Width'#2#31#7'C'
|
|
||||||
+'aption'#6#5'Sizes'#5'Color'#7#6'clNone'#11'ParentColor'#8#0#0#6'TLabel'#10
|
|
||||||
+'lblCharset'#4'Left'#3#168#1#6'Height'#2#13#3'Top'#3#176#0#5'Width'#2'9'#7'C'
|
|
||||||
+'aption'#6#10'lblCharset'#5'Color'#7#6'clNone'#11'ParentColor'#8#0#0#6'TLabe'
|
|
||||||
+'l'#6'Label6'#4'Left'#2#11#6'Height'#2#13#3'Top'#2#16#5'Width'#2#29#7'Captio'
|
|
||||||
+'n'#6#6'Filter'#5'Color'#7#6'clNone'#11'ParentColor'#8#0#0#8'TListBox'#8'lbF'
|
|
||||||
+'amily'#4'Left'#3#216#0#6'Height'#3#16#1#3'Top'#2' '#5'Width'#3#200#0#7'OnCl'
|
|
||||||
+'ick'#7#13'lbFamilyClick'#8'TabOrder'#2#0#8'TopIndex'#2#255#0#0#9'TComboBox'
|
|
||||||
+#9'cbCharset'#4'Left'#2#8#6'Height'#2#21#3'Top'#2'%'#5'Width'#3#194#0#16'Aut'
|
|
||||||
+'oCompleteText'#11#22'cbactEndOfLineComplete'#20'cbactSearchAscending'#0#9'M'
|
|
||||||
+'axLength'#2#0#8'TabOrder'#2#1#4'Text'#6#12'ANSI_CHARSET'#0#0#7'TButton'#7'B'
|
|
||||||
+'utton2'#4'Left'#2#8#6'Height'#2#25#3'Top'#2'`'#5'Width'#2'K'#25'BorderSpaci'
|
|
||||||
+'ng.InnerBorder'#2#4#7'Caption'#6#12'apply filter'#7'OnClick'#7#12'Button2Cl'
|
|
||||||
+'ick'#8'TabOrder'#2#2#0#0#8'TListBox'#8'lbStyles'#4'Left'#3#168#1#6'Height'#3
|
|
||||||
+#128#0#3'Top'#2' '#5'Width'#3#208#0#7'OnClick'#7#13'lbStylesClick'#8'TabOrde'
|
|
||||||
+'r'#2#3#8'TopIndex'#2#255#0#0#8'TListBox'#7'lbSizes'#4'Left'#3#128#2#6'Heigh'
|
|
||||||
+'t'#3#16#1#3'Top'#2' '#5'Width'#2'8'#7'OnClick'#7#12'lbSizesClick'#8'TabOrde'
|
|
||||||
+'r'#2#4#8'TopIndex'#2#255#0#0#8'TListBox'#9'lbCharset'#4'Left'#3#168#1#6'Hei'
|
|
||||||
+'ght'#2'p'#3'Top'#3#192#0#5'Width'#3#208#0#7'OnClick'#7#14'lbCharsetClick'#8
|
|
||||||
+'TabOrder'#2#5#8'TopIndex'#2#255#0#0#9'TComboBox'#7'cbPitch'#4'Left'#2#8#6'H'
|
|
||||||
+'eight'#2#21#3'Top'#2'='#5'Width'#3#194#0#16'AutoCompleteText'#11#22'cbactEn'
|
|
||||||
+'dOfLineComplete'#20'cbactSearchAscending'#0#9'ItemIndex'#2#0#13'Items.Strin'
|
|
||||||
+'gs'#1#6#13'DEFAULT_PITCH'#6#11'FIXED_PITCH'#6#14'VARIABLE_PITCH'#6#9'MONO_F'
|
|
||||||
+'ONT'#0#9'MaxLength'#2#0#8'TabOrder'#2#6#4'Text'#6#13'DEFAULT_PITCH'#0#0#7'T'
|
|
||||||
+'Button'#10'BtnFontDlg'#4'Left'#2'8'#6'Height'#2'('#3'Top'#3'p'#1#5'Width'#3
|
|
||||||
+#152#0#25'BorderSpacing.InnerBorder'#2#4#7'Caption'#6#8'Font Dlg'#7'OnClick'
|
|
||||||
+#7#15'BtnFontDlgClick'#8'TabOrder'#2#7#0#0#9'TCheckBox'#9'chkStrike'#4'Left'
|
|
||||||
+#3'O'#2#6'Height'#2#20#3'Top'#3'8'#1#5'Width'#2'H'#7'Caption'#6#9'Strikeout'
|
|
||||||
+#8'TabOrder'#2#8#0#0#9'TCheckBox'#12'chkUnderLine'#4'Left'#3'P'#2#6'Height'#2
|
|
||||||
+#20#3'Top'#3'P'#1#5'Width'#2'Q'#7'Caption'#6#9'UnderLine'#8'TabOrder'#2#9#0#0
|
|
||||||
+#7'TButton'#7'Button1'#4'Left'#2'8'#6'Height'#2')'#3'Top'#3'8'#1#5'Width'#3
|
|
||||||
+#153#0#25'BorderSpacing.InnerBorder'#2#4#7'Caption'#6#17'Reset Sample Text'#7
|
|
||||||
+'OnClick'#7#12'Button1Click'#8'TabOrder'#2#10#0#0#11'TStringGrid'#4'grid'#4
|
|
||||||
+'Left'#3#216#0#6'Height'#2'x'#3'Top'#3'8'#1#5'Width'#3'p'#1#15'AutoFillColum'
|
|
||||||
+'ns'#9#8'ColCount'#2#1#16'DefaultRowHeight'#2#17#10'FixedColor'#7#9'clBtnFac'
|
|
||||||
+'e'#9'FixedCols'#2#0#9'FixedRows'#2#0#7'Options'#11#15'goFixedVertLine'#15'g'
|
|
||||||
+'oFixedHorzLine'#10'goVertLine'#10'goHorzLine'#13'goRangeSelect'#9'goEditing'
|
|
||||||
+#14'goSmoothScroll'#0#8'RowCount'#2#5#10'ScrollBars'#7#10'ssAutoBoth'#8'TabO'
|
|
||||||
+'rder'#2#11#7'TabStop'#9#0#0#11'TFontDialog'#11'FontDialog1'#5'Title'#6#13'S'
|
|
||||||
+'elect a font'#4'left'#3'8'#1#3'top'#3#128#1#0#0#0
|
|
||||||
]);
|
|
@ -71,6 +71,8 @@ var
|
|||||||
implementation
|
implementation
|
||||||
{.$define Debug}
|
{.$define Debug}
|
||||||
|
|
||||||
|
{$R *.lfm}
|
||||||
|
|
||||||
{ TfrmMain }
|
{ TfrmMain }
|
||||||
var
|
var
|
||||||
LStyles,
|
LStyles,
|
||||||
@ -353,9 +355,9 @@ begin
|
|||||||
L := TStringList.Create;
|
L := TStringList.Create;
|
||||||
L.Add('abcdefhijklmnopqrstuvwxyz');
|
L.Add('abcdefhijklmnopqrstuvwxyz');
|
||||||
L.Add('ABCDEFGHIJKLMNOPQRSTUVWXYZ');
|
L.Add('ABCDEFGHIJKLMNOPQRSTUVWXYZ');
|
||||||
L.Add('01234567891 ¢£¤¥§');
|
L.Add('01234567891 ўЈ¤Ґ§');
|
||||||
L.Add('àáâãäåæçèéêëìíîïðñòóôõöøùúûü');
|
L.Add('абвгдежзийклмнопрстуфхцшщъыь');
|
||||||
L.add('ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÕØÙÚÛÜÝß');
|
L.add('АБВГДЕЖЗИЙКЛМНОПРСТУФХХШЩЪЫЬЭЯ');
|
||||||
grid.Cols[0] := L;
|
grid.Cols[0] := L;
|
||||||
l.Free;
|
l.Free;
|
||||||
end;
|
end;
|
||||||
@ -574,11 +576,8 @@ end;
|
|||||||
procedure TfrmMain.UpdateFont(F: TFont);
|
procedure TfrmMain.UpdateFont(F: TFont);
|
||||||
begin
|
begin
|
||||||
grid.Font := F;
|
grid.Font := F;
|
||||||
grid.DefaultRowHeight := grid.canvas.textHeight('Áj') + 5;
|
grid.DefaultRowHeight := grid.canvas.textHeight('Бj') + 5;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
|
||||||
{$I mainunit.lrs}
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user