mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-21 08:45:06 -05:00
Revert "Should compile with latest LCL, donno if it works, but meh, just graphic components."
This reverts commit 981ec3760a
.
This commit is contained in:
parent
058f6bef69
commit
4be1b4009d
@ -311,7 +311,7 @@ begin T := Self.TabIndex; end;
|
||||
|
||||
(*----------------------------------------------------------------------------*)
|
||||
procedure TTabControlNoteBookStringsNoteBook_R(Self: TTabControlNoteBookStrings; var T: TNoteBook);
|
||||
begin T := TNoteBook(Self.NoteBook); end;
|
||||
begin T := Self.NoteBook; end;
|
||||
|
||||
(*----------------------------------------------------------------------------*)
|
||||
procedure TTabControlStringsTabWidth_W(Self: TTabControlStrings; const T: Smallint);
|
||||
|
@ -85,14 +85,14 @@ procedure RIRegisterTPANEL(Cl: TPSRuntimeClassImporter);
|
||||
begin
|
||||
Cl.Add(TPANEL);
|
||||
end;
|
||||
procedure TPagePageIndex_R(Self: TCustomPage; var T: INTEGER); begin T := Self.PageIndex; end;
|
||||
procedure TPagePageIndex_W(Self: TCustomPage; T: INTEGER); begin Self.PageIndex := T; end;
|
||||
procedure TPageOnShow_R(Self: TCustomPage; var T: TNotifyEvent); begin T := Self.OnShow; end;
|
||||
procedure TPageOnShow_W(Self: TCustomPage; T: TNotifyEvent); begin Self.OnShow := T; end;
|
||||
procedure TPagePageIndex_R(Self: TPAGE; var T: INTEGER); begin T := Self.PageIndex; end;
|
||||
procedure TPagePageIndex_W(Self: TPAGE; T: INTEGER); begin Self.PageIndex := T; end;
|
||||
procedure TPageOnShow_R(Self: TPAGE; var T: TNotifyEvent); begin T := Self.OnShow; end;
|
||||
procedure TPageOnShow_W(Self: TPAGE; T: TNotifyEvent); begin Self.OnShow := T; end;
|
||||
{$IFNDEF CLX}
|
||||
procedure RIRegisterTPAGE(Cl: TPSRuntimeClassImporter);
|
||||
begin
|
||||
with Cl.Add(TCustomPage) do
|
||||
with Cl.Add(TPAGE) do
|
||||
begin
|
||||
RegisterPropertyHelper(@TPagePageIndex_R,@TPagePageIndex_W,'PageIndex');
|
||||
RegisterEventPropertyHelper(@TPageOnShow_R,@TPageOnShow_W,'OnShow');
|
||||
@ -106,7 +106,7 @@ begin
|
||||
with Cl.Add(TNOTEBOOK) do
|
||||
begin
|
||||
{$IFDEF FPC}
|
||||
// RegisterMethod(@TNoteBook.TabIndexAtClientPos,'TABINDEXATCLIENTPOS');
|
||||
RegisterMethod(@TNoteBook.TabIndexAtClientPos,'TABINDEXATCLIENTPOS');
|
||||
{$ENDIF}
|
||||
RegisterPropertyHelper(@TNoteBookPageCount_R,nil,'PAGECOUNT');
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user