Jump to content

Uwe Raabe

Members
  • Content Count

    2750
  • Joined

  • Last visited

  • Days Won

    162

Everything posted by Uwe Raabe

  1. Uwe Raabe

    Issue With TForm.AlphaBlend and AlphaBlendValue

    Obviously you can't have both.
  2. Uwe Raabe

    Issue With TForm.AlphaBlend and AlphaBlendValue

    The application needs a manifest with a compatibility entry for Windows 10.
  3. I wonder when anyone comes up with a request for threadconst.
  4. ... unless you allow that with a compiler directive: Writeable typed constants
  5. Uwe Raabe

    File extension icons all gone with D12.2

    Tools > Options > IDE > File Association
  6. CmonLib Initializing provides a way to register a procedure to be called during Application.Initialize. This allows to make adjustments before (f.i. in the dpr file or some units), which would be near to impossible if the initialize code would execute in the units initialization section.
  7. Uwe Raabe

    Delphi roadmap 2024

    IIRC, he said that internally there is a road map. They use to have private talks to selected users about their needs, which may influence their road map. He also mentioned that there is no official road map due to legal concerns.
  8. Uwe Raabe

    Correct transition from dcc32.exe to MSBuild.exe.

    Indeed, my statement covered only the simple case, where a batch file was executed by doubl-clicking it from the explorer. The actual details are ever so often a bit more sophisticated. F.i. you can wrap commands in SETLOCAL and ENDLOCAL to make temporary changes: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/setlocal
  9. Uwe Raabe

    Work-around for TEdit vertical alignment problem

    As long as it is a native Windows control, we are limited by its internal functionality. Currently it doesn't support that: Edit Control Styles
  10. Uwe Raabe

    Correct transition from dcc32.exe to MSBuild.exe.

    AFAIK, the change to the PATH variable lasts until the batch file ends (unless executed by a call). If you need to call different Delphi versions inside the same batch file, you might save the original value and restore it before calling the next rsvars.bat.
  11. Uwe Raabe

    Work-around for TEdit vertical alignment problem

    Well, in that case...
  12. Uwe Raabe

    GetIt Issue..

    This usually happens when you either run the IDE under a different user account or registry branch.
  13. Uwe Raabe

    Correct transition from dcc32.exe to MSBuild.exe.

    Usually it is sufficient to call the rsvars.bat of the required version: call "c:\Program Files (x86)\Embarcadero\Studio\23.0\bin\rsvars.bat"
  14. Uwe Raabe

    Delphi 12.2 available for download

    Well, TParallelArray has been introduced in 12.2, so it won't be available in 12.1. One just cannot use something from 12.2, that did not exist in 12.1. This must not necessarily be used by your own code, but it can by some 3rd party code.
  15. Uwe Raabe

    Simulate mousedrag

    Technically you also get half of the bottom frame with that.
  16. Uwe Raabe

    Simulate mousedrag

    The comment from @Kas Ob. is correct. To always be on the safe side, you can use the following code to calculate the correct position: var P0 := Point(Left, Top); var dx := Width div 2; // X center of form var dy := (Height - ClientHeight + (Width - ClientWidth) div 2) div 2; // Y center of title P0.Offset(dx, dy); var P1 := P0; P1.Offset(200, 200); SimulateMouseDrag(P0.X, P0.Y, P1.X, P1.Y); Note that this might need some more calculations under high dpi situations.
  17. Uwe Raabe

    Work-around for TEdit vertical alignment problem

    I usually keep the default AutoSize = True setting. IMHO, this looks better than the large gaps above and below.
  18. Uwe Raabe

    Delphi 12. Structure window, tab control

    That is not true! A TTabControl has its uses cases just like a TPageControl has. I assume you are referring to TTabbedNotebook as the deprecated one.
  19. Uwe Raabe

    When will we have a 64-bit IDE version ?

    Nevertheless it is possible to use it from inside the IDE, although with the restrictions that come with using MSBuild from the IDE in general.
  20. Uwe Raabe

    When will we have a 64-bit IDE version ?

    Nobody claimed it were a 64 bit IDE. Only the compilers and the LSP server are available as 64 bit versions. The IDE still is 32 bit. That is why the 64 bit compilers can only be used with the MSBuild option.
  21. Uwe Raabe

    Delphi 12.2 TMEMO - indexoutofbounds

    Really?
  22. Actually, you can. Let me quote @Remy Lebeau from another thread: As an example, see the C++ Builder packages of VirtualTreeView.
  23. Can you try to disable the Editor Scrollbar Annotations?
  24. Uwe Raabe

    File Open Dialog Preview

    Of course, if there is no code to create a preview it obviously cannot be shown. In case you think about creating your own previews used by Windows Explorer, I once wrote an article about how to do that with Delphi: Windows 7 Previews – the Delphi Way (not sure if that is still valid for more recent Windows versions, though).
  25. Uwe Raabe

    File Open Dialog Preview

    You might have missed to make the preview pane visible, either by clicking the corresponding symbol or by setting the appropriate option ad Dave already mentioned.
×