Микола Петрівський
Members-
Content Count
69 -
Joined
-
Last visited
Community Reputation
10 GoodTechnical Information
-
Delphi-Version
Delphi Community Edition
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I had to extend preexisting converter that was already an extension of Innova solution above: https://github.com/Torbins/VCL2FMX
-
Delphi 11: Text size too small!
Микола Петрівський replied to PeterPanettone's topic in Delphi IDE and APIs
I am making assumptions based on what I have read in this topic. -
Delphi 11: Text in the Messages Pane is illegible!
Микола Петрівський replied to PeterPanettone's topic in Delphi IDE and APIs
Even if it was fixed, what next? Options dialog? About dialog? There are limits for customization in any program. There is a feature, meant to solve exactly your issue - UI elements being to small, but you do not want to use it. Instead you are trying to use a feature, that is not meant to solve such issues and even not officially supported. And it does not produce the result, you want. So who is guilty in such situation? RAD Studio developers? Really? -
Delphi 11: Text in the Messages Pane is illegible!
Микола Петрівський replied to PeterPanettone's topic in Delphi IDE and APIs
FontSize setting is not officially supported. So there will be some issues with it. Probably they have implemented it for some light tweaking for people, who need different font. And you are exceeding the limitations of their implementation. -
Delphi 11: Text size too small!
Микола Петрівський replied to PeterPanettone's topic in Delphi IDE and APIs
One of the biggest features of Delphi 11 is HiDPI support. Once you set Windows to 125% scaling, IDE will use that as well. Fonts, icons, buttons - everything will be 25% bigger. -
RAD Studio 11 Alexandria is now available
Микола Петрівський replied to Darian Miller's topic in General Help
Looks like you need some Microsoft runtime, to make C++ formatting work. -
Delphi 11: Text size too small!
Микола Петрівський replied to PeterPanettone's topic in Delphi IDE and APIs
And what next, button sizes? You definitely should try to set windows to 125% or 150% scaling and run it that way a few days. It will free you from the need to manually set fonts and icon sizes in each and every app, that you use. -
Yep, with 125% scaling. Windows 7 with 125% scaling automatically enables so called "XP scaling". This means, that OS ignores app manifest, and forces it to scale itself. But RAD Studio manifest does not declare support for scaling, so Studio tries to do whatever it can, even while it does not support this. So you see such results.
-
Only in Windows 7/8 and older. Since Windows 8.1 you can set different scaling for different screens.
-
[out] and [in] in records
Микола Петрівський replied to efortier's topic in RTL and Delphi Object Pascal
In modern Delphi you can do that like this: TMyRecord = record private FSrcPosition: TPoint; function GetDestination: TPoint; public property SrcPosition: TPoint write FSrcPosition; property DstPosition: TPoint read GetDestination; end; -
serious bug with Indy based code and I9 8/16 cores
Микола Петрівський replied to RDP1974's topic in Network, Cloud and Web
Standalone web servers is not a common type of projects for Delphi. That is why default memory manager was not tweaked for such load. But full version of FastMM4 has lots of different tweaks specifically for multi-threading, so you can customize it as you wish. -
New project with embedded browser
Микола Петрівський replied to Darian Miller's topic in General Help
If you only need to display HTML written by yourself, then THtmlViewer might be an option. -
Conceptual - callbacks that are called from background thread
Микола Петрівський replied to Fr0sT.Brutal's topic in Algorithms, Data Structures and Class Design
Your TСompressor.Create runs in current thread, so you can easily store it as CallerThread. Then, in decompression thread, you can synchronize to CallerThread instead of main GUI thread. -
handling predicate conditions
Микола Петрівський replied to David Schwartz's topic in Algorithms, Data Structures and Class Design
It is almost the same as Assert(value <> nil, 'Value is nil!'); Assert(str <> '', 'String is empty!'); Assert(Value.Num > 0, 'Value.Number <= 0!'); -
looking for design ideas for an easily editable list
Микола Петрівський replied to David Schwartz's topic in VCL
This is, probably, the simplest possible solution, if you limit yourself to "out of the box" solutions. By the way, TClientDataSet can be replaced with TFDMemTable.