Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 09/14/21 in all areas

  1. corneliusdavid

    Android 11 Support in 10.4.2?

    I have a Google Pixel 3L phone running Android 11 and have had to use an old phone for all my Android development and testing. Delphi 10.4.2 proclaims it now supports Android 11 (API 30). So how do we get that?
  2. There is now a GExperts project in the svn repository, that compiles with Delphi 11 (see .\projects\DelphiXx110Alexandria). If you don't know already, there is a page on my blog telling you how to compile your own DLL. It mostly seems to work too, but there are quite a lot of caveats, most related to the new High DPI awareness of the IDE. The simple workaround, if you value GExperts functionality more than the High DPI awareness: Start Delphi with the "Delphi 11 (DPI unaware)" start menu entry. This also fixes quite a few display quirks I have already found in the new Delphi version. If you do that, you should probably also disable all the experts that you don't need, because I haven't tested many of them on Delphi 11 yet at all and they might have undesired side effects even if not actively used. Unfortunately the trick Uwe Raabe blogged about, for using High DPI unaware forms in High DPI aware applications doesn't seem to work. I tried to change the code for opening the GExperts configuration dialog like this: procedure ShowGXConfigurationForm; var previousDpiContext: DPI_AWARENESS_CONTEXT; frm: TfmConfiguration; begin previousDpiContext := SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED); try frm := TfmConfiguration.Create(nil); finally SetThreadDpiAwarenessContext(previousDpiContext); end; try frm.ShowModal; finally frm.Free; end; end; But it changed nothing. The Dialog is still displayed too small to comfortably use on a 4K monitor with scaling set to 150. I'll try to get this sorted. Any help will be appreciated.
  3. David Schwartz

    Send a message to App users??

    The above is fine except: (1) people who are not using the app will get the message; (2) people who are not affected by rebooting a server they're not using will get the message. If you want to notify people using your app that the server it's connected to (that may not have any other connections to it) is going to be restarted, then have a mechanism that lets you notify the users of that app based on something as simple as what's shown above, reading a file and displaying it. I've seen this approach in several large apps over time, and nobody complains about performance. Indeed, calling FileExists every 60 seconds is hardly anything anybody would notice.
  4. Serge_G

    TListView OnItemClick problems

    I don't have any Apple devices but on Androïd OnItemClick works fine. for IOS : what about onTap or Gesture management
  5. rudy999

    Delphi 11 first look issues

    More feedback. 1. When I have a win application project open- and switch from win32 to win64 -- and I need to add a new library path to the Win64 environment- The Library .. Selected Platform DOES NOT FOLLOW - the initial Selected Platform is STILL win32.... 2. Exes generated by Delphi11 are 'slightly smaller' than those for the equivalent app generated in 10.4.2 The look and feel for Delphi 11 is nice but it seems to me the concentration was on eye candy and new code candy, not on basic IDE usability in regards to 10.x IDE (font, toolbar persistence, library path selection matching project)?
  6. Daniel

    Delphi 11: Text size too small!

    *sigh* i see no reasons for getting personal. There are different ways to look at and to solve a problem.
  7. David Heffernan

    Delphi 11: Text size too small!

    Why is nobody else reporting this issue?
  8. Uwe Raabe

    The state of GExperts Support for Delphi 11

    If the form is showed modal you can try to wrap the whole thing: procedure ShowGXConfigurationForm; var previousDpiContext: DPI_AWARENESS_CONTEXT; frm: TfmConfiguration; begin previousDpiContext := SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED); try frm := TfmConfiguration.Create(nil); try frm.ShowModal; finally frm.Free; end; finally SetThreadDpiAwarenessContext(previousDpiContext); end; end; I have to say that I didn't test nor use this approach in a DLL, especially not in an IDE plugin. So there might be more intricacies than I am aware of.
  9. David Schwartz

    RAD Studio 11 Alexandria is now available

    You obiously haven't learned yet that this is pretty routine if you're in a super-hurry to install an update as soon as it's released. I used to enjoy playing with beta code. But these days, I usually won't bother to install a new update until their first patch is released. Just too many problems to be in such a hurry.
  10. Uwe Raabe

    RAD Studio 11 Alexandria is now available

    I am quite satisfied this time. From the issues in QP created by me there are 17 closed as Fixed in Delphi 11. The oldest is from Feb 2017, but most are from 2020 and 2021. Counting over all Delphi versions in QP there are 53 from 78 issues of mine fixed now. Not that bad.
  11. David Heffernan

    RAD Studio 11 Alexandria is now available

    Irrelevant. Good products are cohesive. Different aspects work with each other and support each other. Funny. Binary literals, digit separators and avx512 asm. That's the entirety of new language features. That's a pace that can only be described as glacial. Cant be hard to get the old formatter to work. If it's an arse for them to do it, tough. Their adult for building up so much technical debt. Honestly, look at the quality of what comes out of Emba and compare to other mainstream IDEs.
  12. Dalija Prasnikar

    Delphi 11 first look issues

    This sounds like same issue: [REGRESSION] Editor Font setting is not persisted. https://quality.embarcadero.com/browse/RSP-34854
  13. hsauro

    RAD Studio 11 Alexandria is now available

    Thanks for doing this, this is one place the community can help. Your efforts might inspire others to contribute.
  14. Carlo Barazzetta

    Delphi compatibility with Windows 11?

    Typically, any Delphi app runs smoothly on Windows 11 (I've been using W11 since June). Using an application with native Windows Style, the main differences I found are visible in this form: The window and even the menu have rounded corners The menuitem selected has rounded corners and a smaller area of drawing The major problem is visible in the selected cell of a DbGrid: a strange rectangular and a rounded focused box: very bad to see. If an edit has Ctl3D it works like default in W11: only the bottom border is visible (and colored): when the input receive focus the bottom border gets thicker Selected RadioGroup has a colored border instead of a dot inside. Scrollbars are thiny and enlarged when focused. Buttons are rounded Using a Styled app, all of those problem disappear, but it would be useful to have styles that look like Windows 11, just as Windows 10 styles were created (I hope in the next Delphi 11 release).
  15. Dave Nottage

    Android 11 Support in 10.4.2?

    To clarify: Android 11 is supported. The distinction is in the value for targetSdkVersion that ends up in AndroidManifest.xml (currently, the value is set to 29, as opposed to 30). A targetSdkVersion of 30 is yet to be fully supported, as it requires changes to the support of accessing external storage (and possibly other aspects of API 30). This is what is being referred to with a statement of: They really should make the distinction if they are saying it like that. Also, targeting an API level (via targetSdkVersion) and building against an API level are 2 completely different things, so downloading platform API level 30 and changing the SDK settings to suit is not the same as changing the target.
  16. corneliusdavid

    Android 11 Support in 10.4.2?

    Thanks very much--that makes sense and I got it installed and configured in Delphi and connected to my Pixel phone. 🙂
  17. vfbb

    Android 11 Support in 10.4.2?

    I'm not going to talk about delphi 10.4.2 because I still have 10.4.1. But on sdk, you don't need to use this Embarcadero tool, it is almost always a version behind. Ideally, you should install Android Studio on your own, open it and Configure> SDK Manager and install (download) the latest sdk, get the directory and configure it in your Delphi Options > Deployment > SDK Manager> Android
  18. MarkShark

    SynEdit preferred version?

    Thanks to everyone who responded to this! I'm new to git (and to contributing to open source projects) so I installed a bunch of stuff, cloned the SynEdit2 repository, made a branch (I think that's the correct thing), went to add the wordwrap fix I mentioned above... and found that pyscripter had already fixed it last December and I had totally missed it. Nice! I'm going to attempt a pull request on a very minor fix I have to try to get my feet wet on the process.
  19. Mahdi Safsafi

    SynEdit preferred version?

    I use pyscripter version. FYI guys, pyscripter is one of the best developers that knows how to correctly maintain/extend 3rd party library.
  20. rudy999

    Delphi 11 first look issues

    (Windows 10 - I am admin on PC) 1. install did not work on one PC (this had 10.4-and was-is my'new version test PC'. (I could install it on another PC no issue) 2. IDE modification -settings do not get save between IDE sessions. -- Fonts --customizing toolbars Once Delphi is started again -back to initial installation settings.
  21. corneliusdavid

    Android 11 Support in 10.4.2?

    Wow--OK. This is more confusing than I first thought--I have more study to do on this! Thanks for pointing that out.
  22. corneliusdavid

    Android 11 Support in 10.4.2?

    @Dave Nottage, thanks for that explanation. To further clarify my situation and after looking at my project again, my target SDK is only at 25.2.25 so while that works on my Android 11, it doesn't support all the newest features of Android API 30.
  23. MikeMon

    Android 11 Support in 10.4.2?

    But the official Embarcadero docwiki 10.4 Sydney - Release 2 - RAD Studio (embarcadero.com) states that it does. Is it safe to follow @vfbb 's post above?
  24. M. Toussaint

    Android 11 Support in 10.4.2?

    I just got an answer from Embarcadero in which they state API 30 is not officially supported with 10.4.2. They plan on supporting API 30 in Delphi 10.5....
×