Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 08/28/22 in all areas

  1. Anders Melander

    XML viewer component

    Something like this? The above was done with a standard TTreeView using ownerdraw (and "a few" hacks). I've attached the source but it's part of a larger framework so it will have to be tweaked a bit in order to work standalone - Minor stuff. If I were to implement this today I would definitely use Virtual TreeView instead; L oad the XML into a DOM (e.g. MSXML/IXMLDocument), populate the treeview and ownerdraw the nodes. amResourceViewXML.pas amResourceViewXML.dfm amTreeView.pas
  2. MarkShark

    XML viewer component

    SynEdit (https://github.com/TurboPack/SynEdit) can handle huge files and has an XML highlighter (Note: I haven't used that highlighter myself.)
  3. Vandrovnik

    How can I move a window to the left edge of a monitor?

    Setting form's Left works fine for me. I have autogenerated manifest, enabled runtime themes and "Per monitor v2" DPI Awarrness. Instead of setting Left to -7, I set it to minus (GetSystemMetrics(SM_CXSIZEFRAME) + GetSystemMetrics(SM_CXPADDEDBORDER)), which is -8 on my PC.
  4. Are you setting up SelAttributes correctly before assigning text to SelText? D11.1 uses a newer version of the rich edit common control (4.x), which has more capabilities than the old 2.x version used by prior Delphi versions.
  5. shineworld

    The future of Delphi

    I would like to have a Delphi version to work with ARM/Linux overall on Raspberry PI and clones. In industry, a lot of embedded ARM-based SOMs are developed with C++ or Python (QT on under the hood), overall for UI parts, but Delphi power could change the trends. I've tried FreePascal + Lazarus but is very messy...
  6. Dave Nottage

    How to get GPS coords in android - Delphi Sydney

    https://delphiworlds.com/2020/01/cross-platform-location-monitoring/ If you're just doing Android, disregard the parts about iOS
×