Delphi

Welcome to the portal about Delphi.

New Topics

Delphi: Format Numeric Output with 2 Decimal Places

Hello community Please lend a hand :) I have this line : Memo10.Text := FloatToStr(round(Memo29.Value)) + '$'; This results is rounded : 25...

Open Question | 1 Answer

Delphi Error with Form.Hide and Form.Show: This Form of Method Call only allowed for Class Methods

I am using 2 forms and I want one to show up while the current one hides. I used the code: Form1.Hide; Form2.Show; I then get this error: This...

Open Question | 1 Answer

Delphi: Bringing another Application's Window to Foreground when minimized

I am trying to show another Application's Window that is minimized to the taskbar. I have been using the SHOWWINDOW and SETFOREGROUNDWINDOW...

Open Question | 1 Answer

Delphi: Showing another application window that is minimized to task bar

I am trying to show another Application Window that is minimized to the taskbar. I have been using the SHOWWINDOW and SETFOREGROUNDWINDOW commands...

Open Question | 1 Answer

Delphi/Lazarus: Automatically sign in to an HTTPS page or website

How can I log in to an HTTPS or HTTP website automatically via a Lazarus or Delphi program and then automatically read the content of that page? What...

Question | 1 Answer

Lazarus: Set User-Agent in TFPHttpClient

I am using the FPHttpClient to download some websites from the Internet with my Lazarus program. Now I would like to customize the UserAgent, which...

Question | 1 Answer

New Answers and Comments

Guest: This solution is better for smaller programs or dialog windows! The above answer is more suitable for longer...

Question | Delphi/Lazarus: Enter-Key in Edit

Delphian: I have corrected it. Thank you very...

Question | Delphi/Lazarus: Extract Day, Month and Year from DateTime-Format

Guest: AYear, AMonth, ADay: word; (DecodeDate takes word...

Question | Delphi/Lazarus: Extract Day, Month and Year from DateTime-Format

Delphian: Thank you very much for reporting that issue. It must be bmp not c, I have corrected that error in the example...

Question | Delphi/Lazarus: Specify TextWidth and TextHeight without Canvas

Guest: What is c, and why are you freeing it instead of...

Question | Delphi/Lazarus: Specify TextWidth and TextHeight without Canvas

Guest: Thank you! You helped me a lot with this answer!! It was...

Question | Lazarus: Program without GUI - Many WSRegister Errors