Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 08/09/19 in all areas

  1. Uwe Raabe

    MMX 15 (Beta) Available

    @ULIKThanks for reporting. I really appreciate these bug reports - from all users here. The changes in v15 are huge and MMX has too much places and functions affected to overlook all of them. That is why I have to rely on all of you to spot these bugs and glitches. So, thanks also to all of you. 👍 Next when I have a bit of spare time I will go over these and publish a new beta version.
  2. Dave Nottage

    New project with embedded browser

    A while ago I was looking for something that's cross-platform (Windows and macOS) so decided to check out CE4. For me, it was extremely difficult to work with, if the goal is to use it for automation. I ended up using TWebBrowser in FMX and wrote a bunch of helper methods for both platforms, one of the most critical being: // macOS class function THTMLHelper.GetBrowserDocument(const ABrowser: TObject): DOMDocument; var LWebView: WebView; begin Result := nil; if Supports(ABrowser, WebView, LWebView) then Result := LWebView.mainFrame.DOMDocument; end; // Windows class function THTMLHelper.GetBrowserDocument(const ABrowser: TObject): IHTMLDocument3; var LBrowser: IWebBrowser; begin if Supports(ABrowser, IWebBrowser, LBrowser) then Supports(LBrowser.Document, IHTMLDocument3, Result); end;
  3. RonaldK

    Generic Command Line Parser for Delphi 10.3.x

    There is another one from Vincent Parrett: https://github.com/VSoftTechnologies/VSoft.CommandLineParser
  4. Only who supplies the callback (your TForm1) knows if it's important to have it synced to the main thread or not. So it should take care of synchronizing/queueing it to the main thread, not your TCompressor.
  5. Primož Gabrijelčič

    Generic Command Line Parser for Delphi 10.3.x

    My approach: https://github.com/gabr42/GpDelphiUnits/blob/master/src/GpCommandLineParser.pas
  6. Shameless self promotion: On StackOverflow somebody asked the question in the title and I answered it. And as you might have guessed, I am might proud of having had that idea. It might be interesting to know that this is how GExperts fixes some of the IDE bugs and enhances some forms: It creates a TComponent descendant which hooks some events of the form to implement the fixes or enhancements. And since it is added to the form, it automatically gests freed in the form’s destructor. https://blog.dummzeuch.de/2019/04/03/extend-the-event-onclick-of-all-menuitems-in-the-screen-to-execute-another-block-of-code/
×