Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by uligerhardt

  1. uligerhardt

    Compilng in x64 gives a warning I see why occurs

    Would be nice if the warning specified that non-const aspect. πŸ˜‰
  2. Try storing zip.FileNames in a local variable. Edit: ... and maybe drop vZipContents and use that local variable instead.
  3. uligerhardt

    Updating Table of Contents in docx with OOXML

    I'd compare your original docx before and the one after the user pressed "Yes". Maybe you can see what you have to change in the differences.
  4. uligerhardt

    Found and remove unused uses units

    That's only true for the uses-clause entries that the form designer manages. (Which is a tiny fraction in my development.)
  5. uligerhardt

    10.4.1+ Custom Managed Records usable?

    If I'm not missing anything, Oxygene didn't "reverse" it, but kept it consistent with Pascal.
  6. There is http://docwiki.embarcadero.com/RADStudio/Sydney/en/Writeable_typed_constants_(Delphi). It's just off per default for some years now.
  7. uligerhardt


    https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/ Sounds very interesting.
  8. uligerhardt


    Ok, then I misunderstood you. 😎
  9. uligerhardt


    This is about generating wrappers for classic Win32 API, Not some WinRT stuff. Autogenerate Windows.pas! 😎
  10. uligerhardt

    List&Label - HWND of preview form

    Hello! I want to show a MessageBox from inside a TL21_.OnViewerButtonClicked event handler and need the window handle of the preview form for that. Any idea how to get there?
  11. uligerhardt

    List&Label - HWND of preview form

    I tried it just now, and it works AFAICT - I used GetWindowText(gPrintReportWnd, ...) to verify. Thanks a lot.
  12. uligerhardt

    List&Label - HWND of preview form

    Here is the relevant code, a bit condensed: type TPrintLLReportEventHandler = class public procedure OnViewerButtonClicked(Sender: TObject; Button: TViewerButton; var PerformDefaultAction: Boolean); end; { TPrintLLReportEventHandler } procedure TPrintLLReportEventHandler.OnViewerButtonClicked(Sender: TObject; Button: TViewerButton; var PerformDefaultAction: Boolean); begin if Button = vbExit then begin MessageBox(AWnd, .....); // <= I'd like to get the preview form's window handle here for AWnd end; end; var evh: TPrintLLReportEventHandler; evh := TPrintLLReportEventHandler.Create; try MyLLReportInstance.OnViewerButtonClicked := evh.OnViewerButtonClicked; // Show preview here (using LL_PRINT_PREVIEW) finally evh.Free; end;
  13. uligerhardt

    List&Label - HWND of preview form

    Sorry, forgot to mention it in the message body. It's the List&Label report component.
  14. uligerhardt

    TdxfOutlookBar for Delphi 5

    Yes. I guess DevEx wouldn't like us to pass links around, however outdated the components may be.
  15. Very good. πŸ™‚
  16. uligerhardt

    how to get a pseudo-design mode at run-time

    No, that's "original content" that I just created just for this thread. πŸ˜„
  17. uligerhardt

    how to get a pseudo-design mode at run-time

    Maybe using TApplicationEvents.OnMessage like in the attached project. RerouteMouseDown.zip
  18. uligerhardt

    looking for a lo-fi Delphi Style

    There is Visual Forms (http://www.jed-software.com/vf.htm). Never tested it.
  19. uligerhardt

    Label Style and Color in DFM

    That's how TFont is streamed, at least in VCL: Either you leave ParentFont at True or the complete TFont properties are stored. I hate that too.
  20. uligerhardt

    IDE adds {$R} between units

    I'd check the *.dproj for spurious entries.
  21. uligerhardt

    Report components: good, bad, ugly

    Regarding dynamic construction: I only know FastReport and List&Label. Both have DOM-like APIs. And FastReport has scripting.
  22. uligerhardt

    Motif: easy pattern matching toolbox

    Um - the name Motif is already taken: https://en.wikipedia.org/wiki/Motif_(software).
  23. uligerhardt

    Funny Code in System.Types

    I wasn't clear enough... Why would you rely on this even if it worked?
  24. uligerhardt

    Funny Code in System.Types

    Why would you rely on this? Without the tiniest comment?
  25. Thanks! I missed that feature on every Delphi upgrade. Re: clipboard format: Can't you just hand over the text? You can probably even put into a TMemIniFile for reading.