

Lajos Juhász
Members-
Content Count
1063 -
Joined
-
Last visited
-
Days Won
15
Everything posted by Lajos Juhász
-
How to focus a window from another application?
Lajos Juhász replied to Lajos Juhász's topic in Windows API
On My System using reticle (https://chapmanworld.com/2018/10/04/custom-vcl-control-for-getting-window-handles-spy-style-reticle/) I get: Handle: 2952088 Class: Windows.UI.Core.CoreWindow Caption:Calculator Ancestor handle: 396212 Ancestor class: ApplicationFrameWindow Ancestor caption: Calculator I can focus Ancestor handle but it will not get the keyboard focus. In order to focus I have to do: ShowWindow(<Ancestor Handle>, SW_SHOWNORMAL ); SetForegroundWindow(<Ancestor Handle>); ShowWindow(<Handle>, SW_SHOWNORMAL ); Tomorrow I am going to try to find a way to get the handle of the Windows.UI.Core.CoreWindow didn't managed to get it using FindWindowEx. -
How to focus a window from another application?
Lajos Juhász replied to Lajos Juhász's topic in Windows API
The calculator. It's a kiosk type application and the user will have only one instance of calculator open at a time. -
How to focus a window from another application?
Lajos Juhász replied to Lajos Juhász's topic in Windows API
On my laptop doesn't work. Even cannot use directly FindWindow as it returns a window handle from the ApplicationFramHost.exe instead of the Calculator. Tried on Window handles from the calculator but the reasult is same as with ShowWindow or SetWindowPos. -
You've to find the last released ISO image before your subscription ended.
-
I am not going to work on that project in the near future. When I go back to that project most probably will have to find a way to improve high DPI and to report whatever anything I can make a simple test project.
-
I am still using 96DPI for designer. I also have problems with the ScalingFlags property. The VCL is changing it's value during the loading of the component from the DFM. I have to "lock" QuickReport to 96 in order to work correctly. On the other hand for some controls when rescaled for higher DPI the font changed but not the width so the data doesn't fit into the controls on higher DPI.
-
New Type ambiguity in Delphi 11?
Lajos Juhász replied to PeterPanettone's topic in RTL and Delphi Object Pascal
Should not be a problem, maybe I am just lucky and the uses in my project was "correct" already in 10.4.2 for me only change was the breaking changes in the interfaces that were incorrect prior to Delphi 11. -
Where is the Welcomepage directory in Delphi 11 Alexandria?
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
So far I have spent only a couple of days using Delphi 11 and the project I am rewriting using it is a very small one. A couple of times LSP have had trouble to catch up with changes, I almost made a test case for Embarcadero, however magically after five minutes the LSP managed to process the code. -
Where is the Welcomepage directory in Delphi 11 Alexandria?
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
I experienced that the mouse stopped responding after compile. In those cases after that I was able to compile using keyboard shortcuts but it did required to restart the IDE. -
Maybe they removed this option. For me it doesn't work even in Delphi 10.4.2 (worked in earlier versions of 10.4).
-
You can check: if VarIsNull(DBGrid1.Columns[1].Field.Value) then .... Usually it's null not empty string or: if DBGrid1.Columns[0].Field.AsString='' then
-
Are you using Delphi 11 with mainstream projects?
Lajos Juhász replied to Clément's topic in Delphi IDE and APIs
I've spent a day using the new IDE. The Access Violations while building the project group still there. What's new for me is that once I got an error that some component already exists and compiling stopped working. The plus side is that I was able to move some code base from D10.4.2 to D11 very easily. There was only a few data type changes in the methods in the RTL that required changes in my code. -
Delphi 11.0 Alexandria produces more compact x64 executables than 10.4.2 Sydney !
Lajos Juhász replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Come on what about the way they've changed the high dpi support (it's almost working.). -
TFDQuery Async execution aborts with out of memory
Lajos Juhász replied to Clément's topic in Databases
You're reaching the memory limit of the 32 bit applications. You can choose between to switch to 64 bit or to limit the query. -
why shortstring in Delphi cannot used in our Programs using New IDE?
Lajos Juhász replied to bravesofts's topic in Algorithms, Data Structures and Class Design
They left the function names to make the codebase compatible with pre D2009 versions. Some libraries unfortunately still support those versions. -
That's correct the ExecSQL will create the TFDQuery object without an owner and you've to free (no matter if there was an exception or not).
-
delphi set max length for Argument of string in a method
Lajos Juhász replied to bravesofts's topic in Algorithms, Data Structures and Class Design
type TTwenty: string [20]; This is a shortstring and should not be used in programs as it is only for backward compatibility. -
Raize components compiled with different version
Lajos Juhász replied to Gary's topic in Delphi IDE and APIs
-
You should use a web search engine (like google): http://www.unigui.com/
- 5 replies
-
- unigui
- google charts
-
(and 1 more)
Tagged with:
-
I doubt anyone took the time to add Delphi styles to Synedit.
-
Delphi compatibility with Windows 11?
Lajos Juhász replied to PeterPanettone's topic in General Help
If you don't upgrade your computer to Windows 11 how do you test if your application works correctly or not? Please don't tell me that you force all of your users not to upgrade and not to buy a new computer with Windows 11 OS. -
It was a FB announcement that I've pasted here.
-
That's not the complete product preview only contains information about user interface. The full preview is going to be tomorrow: Have you registered yet? RAD Studio 11, Delphi 11, and C++Builder 11 are just around the corner! Join Marco, David, and Jim for this sneak peek at this huge leap forward in your favorite development tools. September 9th at 9 AM / 1 PM / 6 PM CDT. Register here: https://embt.co/SneakPeek-RAD11
-
Generics compiler Error "Incompatible Types"
Lajos Juhász replied to luebbe's topic in Algorithms, Data Structures and Class Design
Before that open a ticket at Embarcadero. -
What's done for version 11 is secret only for the next two days. I believe after that @David Millington or @Marco Cantu can give you more details here or you can ask on the webinar. Unfortunately I will have to skip this product preview.