Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8261757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:31:27+00:00 2026-06-08T03:31:27+00:00

I am preparing an application. IDHTTP: Using the Get method. But there are some

  • 0

I am preparing an application. IDHTTP: Using the Get method. But there are some problems. I want to create a list of Proxy and click listbox items (Proxy address) IDHTTP added. Sorry i little know English.

My codes;

procedure TForm1.CheckBox1Click(Sender: TObject);
begin
if CheckBox1.Checked then
begin
LabeledEdit1.Enabled:= true;
LabeledEdit2.Enabled:= true;
IdHTTP1.ProxyParams.ProxyServer:=LabeledEdit1.Text;
IdHTTP1.ProxyParams.ProxyPort:=StrToInt(LabeledEdit2.Text);

CheckBox1.Caption:='Kendi IP adresimi kullan.';

 end
 else
begin

LabeledEdit1.Enabled:= false;
LabeledEdit2.Enabled:= false;
IdHTTP1.ProxyParams.ProxyServer:='';
IdHTTP1.ProxyParams.ProxyPort:=StrToInt('0');

CheckBox1.Caption:='Proxy kullan.';

end;
end;

procedure TForm1.BitBtn2Click(Sender: TObject);
begin
IdHTTP1.Get(Edit1.Text);
MessageDlg('Mission complated.', mtinformation,[mbOK],0);
end;

I want;

I add Listbox1 Proxy.. Later.. Click Listbox1 item. Later.. BitBtn2 click.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:31:29+00:00Added an answer on June 8, 2026 at 3:31 am
    Listbox1.Items.Add('1.1.x.2.1:80');
    Listbox1.Items.Add('1.2.x.x.5:60');
    ...
    

    .

    procedure TForm1.Listbox1Click(Sender: TObject); 
    var
      I: Integer;
      S: String;
    begin 
      I := Listbox1.ItemIndex;
      if I <> -1 then
      begin 
        S := Listbox1.Items[I];
        IdHTTP1.ProxyParams.ProxyServer := Fetch(S, ':'); 
        IdHTTP1.ProxyParams.ProxyPort := StrToInt(S); 
      end 
      else 
      begin 
        IdHTTP1.ProxyParams.ProxyServer := ''; 
        IdHTTP1.ProxyParams.ProxyPort := 0; 
      end; 
    end; 
    

    .

    procedure TForm1.BitBtn2Click(Sender: TObject);        
    begin        
      IdHTTP1.Get(Edit1.Text);        
      MessageDlg('Mission complated.', mtinformation,[mbOK],0);        
    end;      
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am preparing an application to send tweets using Twitter REST API. I want
I am preparing some custom performance tests against a legacy application that outputs nonstandard
I'm having trouble preparing my application for deployment. I'm using ext-dev.js and have a
I am preparing a registration page using JSF/Spring webflow&mvc application. I have added two
I am working on a Windows MFC application. I am preparing a report list
Does anyone have experience in using ProGuard and are there already measurements about application
I'm using Heroku Cedar stack for my Rails application, and I want it to
I am preparing some application with usage of JPA 2.0, Hibernate as provider, MySQL
I am preparing an application for Android which will display current status of some
Maybe it is not the best approach, but my application use onCreate for loading/preparing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.