mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 13:49:34 +01:00 
			
		
		
		
	FpWeb: correctly enable edit controls when New HTTP Server Application dialog is shown
				
					
				
			This commit is contained in:
		
							parent
							
								
									4f73a1d210
								
							
						
					
					
						commit
						c55ec94d74
					
				@ -56,15 +56,18 @@ uses fpWebStrConsts;
 | 
			
		||||
{ TNewHTTPApplicationForm }
 | 
			
		||||
 | 
			
		||||
procedure TNewHTTPApplicationForm.FormCreate(Sender: TObject);
 | 
			
		||||
var
 | 
			
		||||
  SF: TServeFiles;
 | 
			
		||||
begin
 | 
			
		||||
  SF:=ServeFiles;
 | 
			
		||||
  ELocation.Enabled:=(Sf=sfSingleRoute);
 | 
			
		||||
  DEDocumentRoot.Enabled:=(Sf<>sfNoFiles);
 | 
			
		||||
  LocalizeForm;
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
procedure TNewHTTPApplicationForm.RBNoFilesChange(Sender: TObject);
 | 
			
		||||
 | 
			
		||||
Var
 | 
			
		||||
var
 | 
			
		||||
  SF: TServeFiles;
 | 
			
		||||
 | 
			
		||||
begin
 | 
			
		||||
  SF:=ServeFiles;
 | 
			
		||||
  ELocation.Enabled:=(Sf=sfSingleRoute);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user