mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 12:29:27 +01:00 
			
		
		
		
	LCL: PageControl, set tab index to widgetset. This was skipped if handle-creation was forced (by other controls) during csLoading. issue #0025555
git-svn-id: trunk@44469 -
This commit is contained in:
		
							parent
							
								
									ef91216989
								
							
						
					
					
						commit
						401ad24b64
					
				@ -411,6 +411,7 @@ type
 | 
			
		||||
    procedure CNNotify(var Message: TLMNotify); message CN_NOTIFY;
 | 
			
		||||
    class procedure WSRegisterClass; override;
 | 
			
		||||
    procedure CreateWnd; override;
 | 
			
		||||
    procedure Loaded; override;
 | 
			
		||||
    procedure DoChange; virtual;
 | 
			
		||||
    procedure InitializeWnd; override;
 | 
			
		||||
    procedure Change; virtual;
 | 
			
		||||
 | 
			
		||||
@ -306,6 +306,13 @@ begin
 | 
			
		||||
  end;
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
procedure TCustomTabControl.Loaded;
 | 
			
		||||
begin
 | 
			
		||||
  inherited Loaded;
 | 
			
		||||
  if HandleAllocated then
 | 
			
		||||
    DoSendPageIndex;
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
procedure TCustomTabControl.DoChange;
 | 
			
		||||
begin
 | 
			
		||||
  if Assigned(OnChange) then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user