You've already forked lazarus-ccr
Enabled TFontName property editor (dropdown list) for the controls' font name properties in Lazarus Object Inspector.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1427 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3,7 +3,8 @@ unit HtmlCompReg;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, LResources, HTMLView, FramView, FramBrwz;
|
Classes, LResources, PropEdits, GraphPropEdits,
|
||||||
|
HTMLView, FramView, FramBrwz;
|
||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
|
|
||||||
@ -11,7 +12,16 @@ implementation
|
|||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
begin
|
begin
|
||||||
RegisterComponents('HTML Components', [THTMLViewer, TFrameViewer, TFrameBrowser]);
|
RegisterPropertyEditor(TypeInfo(AnsiString), THTMLViewer, 'DefFontName', TFontNamePropertyEditor);
|
||||||
|
RegisterPropertyEditor(TypeInfo(AnsiString), THTMLViewer, 'DefPreFontName', TFontNamePropertyEditor);
|
||||||
|
|
||||||
|
RegisterPropertyEditor(TypeInfo(AnsiString), TFrameViewer, 'DefFontName', TFontNamePropertyEditor);
|
||||||
|
RegisterPropertyEditor(TypeInfo(AnsiString), TFrameViewer, 'DefPreFontName', TFontNamePropertyEditor);
|
||||||
|
|
||||||
|
RegisterPropertyEditor(TypeInfo(AnsiString), TFrameBrowser, 'DefFontName', TFontNamePropertyEditor);
|
||||||
|
RegisterPropertyEditor(TypeInfo(AnsiString), TFrameBrowser, 'DefPreFontName', TFontNamePropertyEditor);
|
||||||
|
|
||||||
|
RegisterComponents('HTML Components', [THTMLViewer, TFrameViewer, TFrameBrowser]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
Reference in New Issue
Block a user