Jump to content

Anders Melander

Members
  • Content Count

    1235
  • Joined

  • Last visited

  • Days Won

    56

Everything posted by Anders Melander

  1. Anders Melander

    Delphi 11 Windows XP compatibility tweak

    Sure, except you simply have another version of Windows to support, which is typically another VM to keep around. It would be nice to delete the old Windows VM and simply use the latest version of Windows to support all of your projects, including the ancient ones.
  2. Anders Melander

    Delphi Package Manager - choices?

    Or even one 😱 ( 🙂 )
  3. Anders Melander

    Delphi 11 Windows XP compatibility tweak

    You are probably right on that, but do the software running on those systems really need to be supported by Delphi 11? I doubt it.
  4. Anders Melander

    Delphi 11 Windows XP compatibility tweak

    Yes, they probably realized that there's no reason to resort to hacks when there's better solution
  5. Anders Melander

    Delphi 11 Windows XP compatibility tweak

    Support for older versions of Windows doesn't come for free. Official support means that they need to test against those versions and that they can't use the APIs of newer versions. Given the minimal market share of XP it hardly seems worth using resources to support it. If support for XP is required then use a version of Delphi that supports XP instead. I myself am on Windows 7 and if (when) that breaks Delphi then I will only blame myself.
  6. Anders Melander

    RAD Studio 11 Alexandria is now available

    It's relevant when you're wondering why they can't get it working properly. I'm not sure but I seem to remember that the formatter was written in J# or some horror like it. Technical debt indeed. Their solution to that appears to be letting those old features rot until everyone has given up on them and then remove them from the product. On that account, the formatter and refactoring features days are numbered. Fair enough; We all have to work within the limits of available resources. So let someone else work on those tools that they can't maintain themselves. What's to lose? Anyway, I known very little about LSP but if it can supply a good detailed DOM then I guess one could write a better formatter on top of that with relative ease. A few years back I looked at writing a formatter, using some of the available Delphi parsers, but none of their DOMs were detailed enough for the purpose.
  7. Anders Melander

    RAD Studio 11 Alexandria is now available

    Please do. The name helps no one and just adds confusion. I don't know why they thought it would be smart to name versions. I have to google it every time someone refers to a version by name.
  8. Anders Melander

    Better context menu

    It's transparent when the mouse isn't near it. When the mouse is over it it becomes fully opaque. Just like the one in MS Office. Personally I don't much care for that control as it usually gets in the way of what you're doing - but as you can see I've used it in a few places (above is from Better Translation Manager).
  9. Anders Melander

    Better context menu

    DevExpress TdxRibbonMiniToolbar https://www.devexpress.com/subscriptions/new-2011.xml#vcl https://community.devexpress.com/blogs/ctodx/archive/2011/02/17/sneak-peek-the-winforms-ribbon-gains-a-mini-toolbar-coming-in-v2011-vol-1.aspx
  10. Anders Melander

    Looking for Icon Fonts support in Delphi for High-DPI and Themed app?

    No. Here's some more clues: https://en.wikipedia.org/wiki/Font https://docs.microsoft.com/en-us/windows/win32/gdi/fonts-and-text
  11. Anders Melander

    Looking for Icon Fonts support in Delphi for High-DPI and Themed app?

    Maybe this is a clue that you're using fonts for something that they were not intended for...
  12. Anders Melander

    Tool to inspect properties at run-time?

    Are you sure about that? I believe TMS purchased their run-time design controls (OI, form designer, etc) from some Chinese gentleman. AFAIK the same person that was the author of the K-Wizard controls. I'm using his original controls in my Resource Editor:
  13. Anders Melander

    gridlines in listboxes

    Since you don't want to hear about alternatives the only solution you have is owner drawing the listbox. A Google search would have given you that answer and it would also give you examples of how to do it. Start here: https://docs.microsoft.com/en-us/windows/win32/controls/about-list-boxes ...or simply use a TListView.
  14. Anders Melander

    Testing out DirectOffice Library

    Okay. I thought that maybe the typelib you're using had its own declaration of IComparable. I'm guessing the IComparable stuff is a mistake made by the typelib importer. It doesn't make much sense to me otherwise. Since you're using dispatch interfaces (i.e. late binding) anyway the solution could be to simply access the properties through IDispatch and ignore the concrete interface declarations. You can do this quite easily by using the OleVariant type: var Fontsize: OleVariant; begin Fontsize := CoDocumentFormat_OpenXml_Wordprocessing_FontSize.Create; Fontsize.Val := '40'; end; This is basically the way VB does OLE automation.
  15. Anders Melander

    Testing out DirectOffice Library

    Can you show us the declaration of IComparable ?
  16. Anders Melander

    TJSONObject.Format bug

    From what I can see, by reading the source, the only place SysUtils.Format is called is in EJSONParseException.Create. TJSONObject.Format ends up calling TJSONString.ToChars to encode the chars and I can't see anything there that would choke on %. Regardless, it would be trivial for you to look at the call stack when the exception occurs to determine where SysUtils.Format is called from.
  17. Anders Melander

    Can one include a TDataModule in a console application?

    What errors?
  18. Anders Melander

    Sorting question

    Plastic Merge can do move detection. You might have more luck with that. https://www.plasticscm.com/features/xmerge
  19. I can save you 70 minutes there. The key point of Chandlers Efficiency talk is "Cache locality is very important". The remaining 60 minutes are just circus IMO.
  20. Anders Melander

    Two Lists synchronised movement

    Why not just set the absolute scollbar position of the listbox based on the position of the checklist scrollbar position?
  21. Anders Melander

    Stratched image is wrong if bmp dimention >32767 (RAD2007)

    Hardly relevant since it's about GDI+. They are not the same. pfDevice creates a DDB while all the other create DIBs. I don't know why you would prefer DDB when you're working with bitmaps that large. Use DIBs instead. They are backed by virtual memory. There are way too many unrelated things going on in your example for me to investigate it. Instead of juggling different bitmaps just size TImage->Picture->Bitmap and draw on that.
  22. Anders Melander

    Stratched image is wrong if bmp dimention >32767 (RAD2007)

    I don't think the problem is in the VCL. As far as I can see the calculations done by TImage, TBitmap & TCanvas are correct and should not overflow. It would help if you could show what the problem looks like.
  23. Anders Melander

    Few do-not in website

    I don't get this moaning about the captcha at signup. AFAIK it's an standard option in JIRA so it's easy to turn on or off. There's no effort involved. My physic powers are limited so I don't know why they chose to enable it but I'm guessing they had a good reason. Apparently others know better. I agree that it would be better to have the captcha above the input field but it isn't really something I can get upset about. Click another field, read the image, enter the text and move on.
  24. Anders Melander

    Few do-not in website

    It's Atlassian. If you want to customize the UI you will have to modify the source and probably recompile JIRA. I think Atlassian invented suckage. Embarcadero has customized it a bit but I'm guessing they did that by tweaking the CSS. Here's what the standard JIRA Server 7 (they're on v6) login looks like: So your browser is able to autocomplete captchas? Impressive! Must be that there new artificial intelligence thing I've been hearing about... 🙂
×