Jump to content

Charlie Heaps

Members
  • Content Count

    14
  • Joined

  • Last visited

Everything posted by Charlie Heaps

  1. Charlie Heaps

    Double, default value

    Dumb question - why would it NOT be a good idea for variables to be initialized by Delphi (e.g. to zero/blank/false) both locally and globally. I have always found it strange that they are not. What would it break if Embarcadero changed this? Or would it slow down code?
  2. Charlie Heaps

    TTaskDialogs not working with Delphi Styles

    Hi all, I have recently been updating my Delphi/VCL/Windows desktop app to support themes and high DPI. At the same time I finally (only about a decade late) thought I should also try to use the "new" style of message boxes that were introduced in Windows Vista(!). So I've been trying to use the TTaskdialog and its decsendant TAdvTaskDialog components developed by TMS software. I understand that both these components are not actually native to VCL but are wrappers to native Windows dialog boxes. In general, this seems to work well, but I've notice that the components do not support Delphi styles. Rather, they display using whatever is the Current Windows theme. This can look very strange if the app is running in a dark mode and Windows is in a light mode (or vice versa). These issues also seem to apply to the Delphi TFileSaveDialog and possibly a few other components too. I see that developer Rodrigo Ruz has created a great open source set of components called "VCL Styles Utils" that attempt to patch these components to properly follow the Delphi styles: https://github.com/RRUZ/vcl-styles-utils Unfortunately, there seem to be enough problems with these utilities to the point where they are not sufficiently reliable to be usable. For example, certain TTaskdialog options cause buttons in the dialog to disappear or to lose their borders. I'm still developing in Delphi 11.3 but I've seen the problems in Delphi 12.1 also., I have posted about these issues on the above Github forum, but the utilities now see to be more or less unmaintained. So my two questions to you all are: 1. Has anyone else experienced these issues? Have you found workarounds you can share (or just point me in the right direction)? 2. Alternatively, has everyone else moved on to some other UI approach instead of using TTaskdialogs? (I'm painfully aware that I may be trying to develop in a way that now is rather out of date!) Thanks in advance - any suggestions very welcome!
  3. Charlie Heaps

    TTaskDialogs not working with Delphi Styles

    Thanks - that is really helpful!
  4. Charlie Heaps

    Konopka and Parnassus for Delphi 12?

    Does anyone know if the Konopka (Raize) components have been released on Getit for Delphi 12 yet? Same question for the Parnassus Bookmarks IDE components. I'm waiting to start installing Delphi 12 until most of my standard components have also been upgraded. On the last major Delphi update (11) it took many weeks before Embarcadero also released these components. And there does not seem to be a way of checking, short of installing Delphi 12 and running Getit. Thanks in advance!
  5. Charlie Heaps

    Konopka and Parnassus for Delphi 12?

    >>Think this page is for Delphi Community version Could be. Shame it doesn't make that clear on the page.
  6. Charlie Heaps

    Konopka and Parnassus for Delphi 12?

    Thanks to both of you. I should have mentioned I'd already looked on the Getit web page. Strangely though. If you search for "Konopka" or "KSVC" it only shows version 6.23 from June 2020. The version for Delphi 11, which has been available for ages now, was v7. Conclusion: Getit webpage is not all that useful.
  7. Charlie Heaps

    Has anyone tried "DelphiLSP" for Visual Studio Code yet?

    Hi all - I've been trying it recently, but cannot get it to work. I've got the LSP extension installed OK into VSCode, but when I attempt to use the code completion feature I see this error in the code completion popup: "A valid license was not found. Please contact Embarcadero Support". I DO have a valid license for Delphi Enterprise and I do have Delphi 11 installed. I also tried monkeying with the LSP extension settings (eg manually entering a path to DelphiLSP.exe). I see that Delphi 11 is properly generating a .delphilsp.json file in the project folder. I'm just trying a super simple Hello World application for now by way of testing. One other thing to note: I do also have Delphi 10.4.2. installed. Has anyone else had this problem and/or worked out a solution? Thanks in advance for any insights!
  8. Charlie Heaps

    Parnassus Bookmarks for Delphi 11 Alexandria?

    One more month - still nothing..
  9. Charlie Heaps

    Parnassus Bookmarks for Delphi 11 Alexandria?

    OK - so now its about a month since Delphi 11 was releasedand still no sign of these plugins. It's not exactly a great advert for the Getit system (which was supposed to make it much easier to distribute Delphi components and addins) that even Embarcadero hasn't been able to recompile its own tools for distribution after so long. At least they released the KSVC components after a few weeks.
  10. Hi all! I am trying to update an older Delphi desktop/VCL/Windows application to use High DPI and themes, but my head is spinning trying to understand all the pieces of the puzzle. I currently use quite a few different components in the app, including Raize/Konopka VCL controls, TMS grid components, TeeChart, MapWinGIS ActiveX mapping controls and others. I also use the Toolbar 2000 controls for menus, toolbars and popups. I would like to rationalize things, replace Toolbar 20000, and am considering replacing the menus/toolbars with Ribbon controls. I've been looking at both the Developer Express and TMS menus and ribbon controls as well as the built in Delphi menus/toolbars, but I am confused about how/whether the pieces fit together. The Developer Express and TMS controls seem very well put together but they don't seem to work with Delphi's own VCL styles (Update TMS says its controls DO also support Delphi styles). The Raize components seem to work with VCL styles but are not high DPI aware (yet - not clear if Embarcadero is dropping them). I am not clear if the separate styles implemented in the Developer Express and TMS controls can be integrated with the Delphi VCL styles (e.g. I would not want users to deal with all this complexity). Can someone offer some advice on how to move forward or offer pointers to some online resources? Thanks in advance for any thoughts and advice!
  11. Charlie Heaps

    Can VCL, TMS, DeveloperExpress styles be combined?

    Thanks Rael - this is really helpful - I will check it out!
  12. Charlie Heaps

    Can VCL, TMS, DeveloperExpress styles be combined?

    Thanks everyone - this is very helpful!
  13. Charlie Heaps

    Can VCL, TMS, DeveloperExpress styles be combined?

    Thanks Bill!
×