emileverh
Members-
Content Count
79 -
Joined
-
Last visited
-
Days Won
2
Everything posted by emileverh
-
FYI as I read the comments I don't gonna implement the call : SetProcessDpiAwareness (DPI_AWARENESS_CONTEXT_UNAWARE); I think that I am gonna be further from home. I hope EMB has in 11.3 fixed more of the High DPI issues.
-
As I said, and this is what I want, just drop a component on form and run it... So yes, I am using the default Alignment and Anchors. And I definitely not want to do set component positions on runtime. DELPHI supposed to be a RAD application.
-
I am sorry, I don't agree on that. I have a Invoicing Application where I am talking about, so lots of database stuff and I do nothing with drawing on a canvas and doing fancy things. So practical said; I am dropping (DevExpress) components on a form and I am running my applications ( yes I tried TForm and TdxForm). I also don't want to change the DPI awareness on runtime, but I am frustrated. For example now; my IDE (VCL Designer High DPI) is set to 96 DPI, this is not what I want but gives me the best results so far. Not good, but the best results. ( When I look in my DFM's the PixelsPerInch are 120 ). For example now I have the situation with the above settings that running my app (on a Windows 11 machine) with 192 DPI I get panels overlapped, see attachment. This is not the way I designed it. On running on Windows 11 machines with lower resolution it looks okay. So RUNTIME SCALING IS NOT GOOD! I have lots of forms and most of them are okay. And I don't see where to look/to fix this. And second; opening a form which was designed on a machine with different DPI settings can also mess up the DFM with strange coordinates. Don't say; report this to EMB. They must know this.... As @Remy Lebeau said they have to do some more work at EMB. This the(!) core ( read CORE) functionality. So I hope they will put all the resource they have on fixing this, rather then sending me a daily commercial mail.
-
Thanks Remy! I hope that EMB read this and put all the resources that have in this to fix and test this. The is the core-core-core functionality. And yes, we all make mistakes, but let this be over for once and for all.
-
I expect/hoped from Embarcadero that if I don't use any external manifest file and just turn on PER MONITOR V2 on in the project settings. That my executable is running fine on a modern ( read Windows 11 ) system. While reading some articles I saw that @Uwe Raabe recommended that ParentFont 'must' be set to true. But in this article https://docwiki.embarcadero.com/RADStudio/Alexandria/en/High_DPI is stated that for the Form ParentFont must be set to false. A bit confusing.....!!! ( docwiki seems to be down, use cache ). I see that in my app ParentFont are a bit mixed. I might be the problem.....
-
Thanks a lot! I will give it a try. But still, it's a workaround. Does my problem sound familiar to you ( or other readers?)??
-
Never use Application.ProcessMessages ! Sooner or later you get other troubles
-
Does it work?
-
Set .AutoStop of the ppReport to FALSE
-
This Delphi 11.1 version is indeed a very good version. But I am still starting it in 'High DPI unaware' mode. There are for me still too many issues with High DPI. Else....I like it a lot!!!
-
May be I am too quick with my answer. .. sorry! The default built in ( IDE ) source code formatter does it wrong. I did not try the GEXPERTS formatter ( until now )
-
With the default code formatter, it goes 'wrong' when you skip the type: var settings := dtmSettings.ReadRecord; Or.... var settings : TSettings := dtmSettings.ReadRecord;
-
Delphi 11.1 file associations not set
emileverh replied to Michael Collier's topic in Delphi IDE and APIs
This is a local problem, reinstall Delphi -
Title must be clear ;-(( I don't know if it's DevExpress or EMB. First: frames are not good positioned in first place. Altering the .DFM will fix that. But a checkbox is displayed too tiny and a button image looks bad on runtime!!! By the way, the 'problem' components are within a frame. After months of waiting for D11.1 is this not good!!!! Back to "Delphi 11.1 DPI Unaware mode"
-
Hi! For D11; Can anybody tell me what setting(s) I needin Tools-Options-Language-Formatter ( or may be it's not possible at all ) the format an inline var. I want to have the keyword in front of the variable, now a line break is added. By the way the line break is not added in a 'regular' declaration This is what I want: TfrmMain.SomeStuff; var x : integer; begin ... lots of code var settings := dtmSettings.ReadRecord; end; And Delphi 11 does this: TfrmMain.SomeStuff; var x : integer; begin ... lots of code var settings := dtmSettings.ReadRecord; end; Any help is welcome 😉
-
How do you notice that?! Is the compiler complaining or do you have runtime issues?
-
No I did not.... And for me(!) is it not necessary to include the type
-
Thanks for the large explanation, but did not do the job still...... ;-(( Strange!! <Option Name="DelphiFormatter.NewLineForEachVarAndConstElement" Type="Borland.Together.OpenAPI3.Config.LF_CASE" Category="DelphiLinebreaks" SubCategory="NewLines" Value="No" Levels="Formatter" />
-
Indeed, good reading stuff!
-
Yup!
-
GExperts 1.3.20 experimental twm 2022-01-30 released
emileverh replied to dummzeuch's topic in GExperts
Thank you for all the good work!! -
I have an invoicing app, there is 1 source and with conditional compiling I can create 2 differente .EXE's. One for SQLite and one for MySQL ( I have one datamodule which really differs from both, which handles the connection, backup, etc.). The question is I want to build myself(!) with Delphi of course an upgrade tool so that user can upgrade from SQLite to MySQL ( not from MySQL to SQLite ). The datamodel is for both exact(!) the same on logical level, so all the indexes, foreign keys and constraints are the same. The model contains about 70 tables. What is a good Delphi way to copy to SQLite data into to MySQL? Batchmove?! Or any other suggestions?! Pleas don't answer that there are commercial tools, I know that they exist. But I am thinking to deliver the end-user my own conversion tool. The question for you as reader is, how would you solve this? Any help is welcome. Greetz, Emile
-
Thanks for the answers 😉
-
How do you acquire "Pictures" to be used in your project?
emileverh replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
E.g. https://fontawesome.com/v6.0/icons?q=documents&s=solid -
Developing under Windows 11 in a VM not feasible ?
emileverh replied to A.M. Hoornweg's topic in General Help
Thanks for all the remarks and workarounds.... But I am still not happy, EMB had to do a better (testing) job before releasing D11.- 26 replies
-
- virtualization
- vmware
-
(and 1 more)
Tagged with: