Delphi

Welcome to the portal about Delphi.

New Topics

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 an...
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 t...
Question | 1 Answer
Delphi/Lazarus: How to scroll already when moving the scrollbar
While moving the slider of a scrollbar, the content remains unchanged by default - for example, at the scrollbox control. Only...
Question | 1 Answer
Delphi/Lazarus: Assign Shortcut for MenuItem in Code
I want to set the shortcut for a menu item within my code instead of from the Object Inspector by hand. In the Object Inspector...
Question | 1 Answer

New Answers and Comments

Guest: Thank you I tryed the second it works. procedure TForm1.Memo1KeyPress(Sender: TObject; var Key:...
Question | Delphi: Select all with CTRL+A in Memo
Delphian: Of course, that's the easiest way. But it depends on the Delphi and Lazarus version whether this function is already available....
Tip | Delphi/Lazarus: Delete selected Items from ListBox using DEL-Key
Guest: You do not need to do all this....
Tip | Delphi/Lazarus: Delete selected Items from ListBox using DEL-Key
Guest: var    dbGridX : TDBGrid; begin    if not (FindComponent(PopupMenu1.PopupComponent.Name) is TDBGrid)...
Question | Delphi/Lazarus: Which Control has called a PopUp Menu? Sender of TPopupMenu?
Guest: Here's yet a better way to handle it... procedure TForm1.Memo1KeyPress(Sender: TObject; var Key:...
Question | Delphi: Select all with CTRL+A in Memo
Guest: In this example RoundTo(124.375,-2) should round to 124.38 but it rounds to 124,37!!! Whats...
Tutorial | Delphi/Lazarus: 3 Ways to round a Number to X Decimal Places