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 :=...

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: ...

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...

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...

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...

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...

Question | 1 Answer

New Answers and Comments

Delphian: There are many ways for doing that. One way is to use the function FormatFloat. You can rewrite your code to: ...

Question | Delphi: Format Numeric Output with 2 Decimal Places

Guest: Thanks for your answer, this working on my code. Hope it is working for other...

Question | Delphi: Loading JPEG image in TImage does not work: Exception EInvalidGraphic: Unknown picture file extension (.jpg)

Delphian: This error message typically occurs when you call some procedure not on an instance of a class but on a class itself. Typically, when...

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

Delphian: Statements like that are always written between begin and end. What do you mean with under the procedure? The best is, just set it...

Question | Delphi/Lazarus: How to scroll already when moving the scrollbar

Guest: Hi, if you want to set the Tracking to true as mentioned above, do you need to do it between the Begin/End captions or under the...

Question | Delphi/Lazarus: How to scroll already when moving the scrollbar

Guest: Thank you I tryed the second it works. procedure TForm1.Memo1KeyPress(Sender: TObject; var Key: Char); begin ...

Question | Delphi: Select all with CTRL+A in Memo