-
Content Count
2907 -
Joined
-
Last visited
-
Days Won
169
Posts posted by Uwe Raabe
-
-
The application needs a manifest with a compatibility entry for Windows 10.
-
4 minutes ago, Stefan Glienke said:Clever way of introducing thread-unsafety
I wonder when anyone comes up with a request for threadconst.
-
3
-
1
-
-
2 hours ago, uligerhardt said:Typed constants are more like variables you can't change.
... unless you allow that with a compiler directive: Writeable typed constants
-
3
-
-
Tools > Options > IDE > File Association
-
2
-
-
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.
-
1
-
-
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.
-
1
-
-
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
-
1 hour ago, Tommi Prami said:Vertical align into the edit would be quite nice to have.
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
-
1
-
-
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.
-
5 hours ago, Ruud said:while (for some good reason) it must be 30
Well, in that case...
-
This usually happens when you either run the IDE under a different user account or registry branch.
-
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"
-
1
-
-
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.
-
37 minutes ago, ThomasRiedelDk said:I tried
var dy := (Height - ClientHeight) div 2;It works as well.
Technically you also get half of the bottom frame with that.
-
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.
-
5 hours ago, Ruud said:The text is horizontally aligned , but not vertically .
I usually keep the default AutoSize = True setting. IMHO, this looks better than the large gaps above and below.
-
1 hour ago, corneliusdavid said:The TTabControl is there for backwards compatibility; you should use TPageControl in new applications.
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.
-
55 minutes ago, PeterBelow said:It is intended for use on build servers as I understand it, not while you're working in the IDE.
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.
-
1 hour ago, luciano_f said:can you confirm if it is the 64-bit IDE
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.
-
3
-
-
28 minutes ago, hsauro said:What framework, VCL or FMX?
Really?
47 minutes ago, Borni said:under Android32/64.
-
5
-
-
26 minutes ago, Roger Cigol said:Delphi components implies they are written in Delphi. You can't compile these with any of the C++ compilers.....
Actually, you can. Let me quote @Remy Lebeau from another thread:
QuoteC++Builder has always included the ability to compile Delphi .pas files that are added to C++ projects.
As an example, see the C++ Builder packages of VirtualTreeView.
-
-
9 hours ago, Dave Nottage said:It should be noted however, that this will work only where preview of the selected file type is supported.
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).
-
1
-
-
10 hours ago, CoeurdeLeon said:I have tried this and cannot see a preview of the file. What am I doing wrong?
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.
Issue With TForm.AlphaBlend and AlphaBlendValue
in VCL
Posted
Obviously you can't have both.