Editor de texto RTF: Tahoma/11pt como fuente predeterminada.
git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@181 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
05d73bd406
commit
d61aa9fa28
@ -158,7 +158,7 @@ inherited frViewRichEditor: TfrViewRichEditor
|
||||
StyleHot.LookAndFeel.NativeStyle = True
|
||||
TabOrder = 2
|
||||
Height = 21
|
||||
Width = 20
|
||||
Width = 19
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -166,12 +166,19 @@ inherited frViewRichEditor: TfrViewRichEditor
|
||||
Left = 0
|
||||
Top = 26
|
||||
Align = alClient
|
||||
ParentFont = False
|
||||
Properties.HideSelection = False
|
||||
Properties.ScrollBars = ssBoth
|
||||
Properties.ScrollBars = ssVertical
|
||||
Properties.OnChange = RichEditPropertiesChange
|
||||
Properties.OnSelectionChange = RichEditPropertiesSelectionChange
|
||||
Style.Font.Charset = DEFAULT_CHARSET
|
||||
Style.Font.Color = clWindowText
|
||||
Style.Font.Height = -15
|
||||
Style.Font.Name = 'Tahoma'
|
||||
Style.Font.Style = []
|
||||
Style.LookAndFeel.Kind = lfStandard
|
||||
Style.LookAndFeel.NativeStyle = True
|
||||
Style.IsFontAssigned = True
|
||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||
|
||||
@ -170,7 +170,8 @@ end;
|
||||
procedure TfrViewRichEditor.CustomViewCreate(Sender: TObject);
|
||||
begin
|
||||
inherited;
|
||||
CurrText.Name := DefFontData.Name;
|
||||
CurrText.Name := 'Tahoma';
|
||||
CurrText.Size := 11;
|
||||
RichEditPropertiesSelectionChange(Self);
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user