lcl: apply patch of Juha Manninen which registers more VCL compatibility properties which LCL should skip while reading

git-svn-id: trunk@24327 -
This commit is contained in:
paul 2010-04-01 00:49:45 +00:00
parent 02e6a3fe48
commit 2dfb22d93e
8 changed files with 17 additions and 0 deletions

View File

@ -1903,6 +1903,8 @@ end;
initialization
{$INCLUDE cursors.lrs}
RegisterPropertyToSkip(TForm, 'OldCreateOrder', 'VCL compatibility property', '');
RegisterPropertyToSkip(TForm, 'TextHeight', 'VCL compatibility property', '');
RegisterPropertyToSkip(TForm, 'Scaled', 'VCL compatibility property', '');
LCLProc.OwnerFormDesignerModifiedProc:=@IfOwnerIsFormThenDesignerModified;
Screen:=TScreen.Create(nil);
Application:=TApplication.Create(nil);

View File

@ -3473,6 +3473,8 @@ end;
class procedure TControl.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TControl, 'IsControl', 'VCL compatibility property', '');
RegisterPropertyToSkip(TControl, 'DesignSize', 'VCL compatibility property', '');
RegisterControl;
end;

View File

@ -67,6 +67,7 @@ end;
class procedure TCustomCheckBox.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TCustomCheckBox, 'Alignment', 'VCL compatibility property', '');
RegisterCustomCheckBox;
end;

View File

@ -446,6 +446,9 @@ end;
class procedure TCustomComboBox.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TCustomComboBox, 'BevelInner', 'VCL compatibility property', '');
RegisterPropertyToSkip(TCustomComboBox, 'BevelKind', 'VCL compatibility property', '');
RegisterPropertyToSkip(TCustomComboBox, 'BevelOuter', 'VCL compatibility property', '');
RegisterCustomComboBox;
end;

View File

@ -417,6 +417,7 @@ end;
class procedure TCustomListView.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TListColumn, 'WidthType', 'VCL compatibility property', '');
RegisterCustomListView;
end;

View File

@ -74,6 +74,9 @@ end;
class procedure TPageControl.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TPageControl, 'Style', 'VCL compatibility property', '');
RegisterPropertyToSkip(TPageControl, 'HotTrack', 'VCL compatibility property', '');
RegisterPropertyToSkip(TPageControl, 'MultiLine', 'VCL compatibility property', '');
RegisterPageControl;
end;

View File

@ -69,6 +69,8 @@ end;
class procedure TStatusBar.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TStatusBar, 'Font', 'VCL compatibility property', '');
RegisterPropertyToSkip(TStatusBar, 'UseSystemFont', 'VCL compatibility property', '');
RegisterStatusBar;
end;

View File

@ -290,6 +290,9 @@ end;
class procedure TCustomTrackBar.WSRegisterClass;
begin
inherited WSRegisterClass;
RegisterPropertyToSkip(TCustomTrackBar, 'SelStart', 'VCL compatibility property', '');
RegisterPropertyToSkip(TCustomTrackBar, 'SelEnd', 'VCL compatibility property', '');
RegisterPropertyToSkip(TCustomTrackBar, 'ThumbLength', 'VCL compatibility property', '');
RegisterCustomTrackBar;
end;