Jump to content

Bob Devine

Members
  • Content Count

    33
  • Joined

  • Last visited

Everything posted by Bob Devine

  1. Bob Devine

    HTML-based MVVM

    https://github.com/SigmaSciences/KnockoutOP Still pretty rough but looking quite promising I think. Based on Stefan Glienke's KnockOff and the DelphiHTMLComponents. Any bugs, suggestions, problems etc. just drop me an email (see the readme for gmail address).
  2. Bob Devine

    HTML-based MVVM

    TBH I haven't considered that yet. @Stefan Glienke would be the best person to ask.
  3. Bob Devine

    HTML-based MVVM

    I've actually been using the FNC components with Stefan's Knockoff for a few years now so I'm very familiar with them. In Knockoff it's easy to create new bindings and this type of MVVM is addictive 🙂 I'd used WPF and also KnockoutJS in the past so when Knockoff came along I was delighted. However I'm now getting close to actually requiring a cross-platform app and every time I used the FMX style designer I lost the will to live. Linking Knockoff and DHTML seemed an ideal solution. That's right - I've been using DHTML for almost a year and it really is an amazing component set. The website and documentation don't do it justice. When you get into it, CSS is just great to use - no fiddling with visual designers if you don't want to. Having said that, you can use something like Figma to create HTML/CSS UIs, e.g.: https://www.uistore.design/items/macos-monterey-free-ui-kit-for-figma/ https://docs.telerik.com/blazor-ui/styling-and-themes/figma-ui-kits An example of what can be achieved just with CSS is here (there are many others): https://picturepan2.github.io/spectre/index.html I'd also briefly looked at Flutter but really don't see the point of adopting another non-standard UI technology. With CSS I can draw on a vast pool of resources, and developers. Another potential benefit of this approach is right-to-left script. I think some of the demos might support this but am not sure - if anyone with an RTL system could test them I'd be grateful.
  4. Bob Devine

    Looking for Spreadsheet component

    Flexcel is in a class of it's own - it's non-visual so it's perfect for use with a virtual grid (the TMS FNC grid works in virtual mode). If you need to store the object with the workbook then use custom document properties (Flexcel handles this). You serialize your objects to XML and store them in the workbook. You then just need to keep track of which object applies to which cell - use named cells/ranges and you don't need to keep track of possible row/column insertions/deletions.
  5. Bob Devine

    How are you handling SVG images?

    I'm using DHTML extensively for SVG: https://delphihtmlcomponents.com/ I tried a couple others but DHTML gives better re-sizing (really smooth without flickering) and was better at handling the SVGs I work with (generated by matplotlib).
  6. Bob Devine

    Parsing Text search expression

    +1 for HTML Library
  7. Some that look interesting - I haven't investigated these in detail so can't give any opinions on them. The CodeProject ones would need to be ported. https://github.com/LUXOPHIA/Random https://www.codeproject.com/Articles/1083372/Random-Number-Generator-Recommendations-for-Applic https://www.codeproject.com/Articles/1190459/Randomization-and-Sampling-Methods https://www.codeproject.com/Articles/5272482/Partially-Sampled-Random-Numbers-for-Accurate-Samp
  8. Bob Devine

    PaxCompiler

    Since the rights to PaxCompiler have been acquired by Apex Data Solutions, they've decided not to supply it as a stand-alone royalty-free compiler, but as part of a larger interoperability suite (with no source and controlled through their licencing portal). I'm looking into the possibility of continuing development since I have a significant investment in the technology but don't have the time to become a compiler engineer! Initially I'm trying to (i) identify any compiler/interpreter developers who might be interested in contract work and (ii) identify other pax users who'd be interested in pooling bug fixes and possibly collaborating on funding further development. Obviously pax can't simply be open-sourced but I have some ideas on how to proceed in a way that keeps things legal. Any pax users who are interested can contact me on gmail (rlsdevine). Cheers, Bob
  9. Bob Devine

    PaxCompiler

    Yes it's valid - it's just the username I gave with gmail.com.
  10. Bob Devine

    Could not open Python DLL problem

    I doubt it would be the IDE - maybe the DLL was still in memory but I'm not sure if that would cause a 126 error
  11. Bob Devine

    XLS 2 XLSX

    +1 for Flexcel
  12. Bob Devine

    Could not open Python DLL problem

    This is quite a common DLL problem, e.g. see here: https://stackoverflow.com/questions/14361992/dll-load-library-error-code-126 Rather than looking for P4D demos I'd pursue that angle
  13. Bob Devine

    Prevent External DLL from Exiting Application

    You need to use RPyC to run your Python code - this decouples the Python from your main app. Check the source in PyScripter to see how it's done. There's code for internal interpreter and remote interpreter - you need the code in the latter.
  14. Bob Devine

    Cross-platform messaging system

    @vfbb Thanks for this looks interesting. Would be worth putting a link to DEB on the readme https://github.com/spinettaro/delphi-event-bus There's another one here: https://github.com/THSoftPoland/DelphiMessageBus I've been mulling over using an event bus rather than the observer pattern in some of my code, but I need something that works with pas2js (in TMS Webcore). The latest pas2js has generics etc. so I'm aiming to try some testing next month - might be worth you taking a look though.
  15. Made the jump from 10.2 to 10.4.1 (both patches installed) and am already regretting it... LSP up to more than 3Gb memory after a few hours so switched to classic. The problem in classic is the "working" cursor when not typing or moving the mouse - anyone else seeing this and know how to get rid of it? Couldn't find anything in QP. I realise I can re-set the LSP by switching between classic and LSP as a last resort. Thanks, Bob
  16. Bob Devine

    10.4.1 IDE wait/working cursor

    Yeah with me it's happening even with a new project.
  17. Bob Devine

    10.4.1 IDE wait/working cursor

    Everything's on a local NVME SSD, so pretty fast. Although 10.2 was my primary IDE I've used 10.3 on this PC and it was fine. Classic 10.4.1 pretty much unusable though - weird. Have reverted to LSP with regular resets :-) Thanks, Bob
  18. Bob Devine

    Rio and MDI Applications

    I rolled my own using TscExPanel from http://www.almdev.com/. Easy to do and also makes it easy to have the ability to switch between MDI and SDI since you're decoupled from the MS MDI. Nice set of components and Alexey was quick to add some features I needed for the MDI. Cheers, Bob
  19. Bob Devine

    PaxCompiler

    @Fr0sT.Brutal Although I'm planning to have Object Pascal incorporated, it will be of limited interest to my target market unfortunately.
  20. Bob Devine

    PaxCompiler

    @Fr0sT.Brutal Yes agreed my GPL objection isn't valid - in fact I'm already using the Nim compiler (MIT licence) to generate plugins from my app and it's run in a separate process. Scripting is no good for my applications though, primarily for performance reasons.
  21. Bob Devine

    PaxCompiler

    As I've mentioned a few times, a nice feature of Pax is the Javascript implementation. Anyone interested in an alternative for embedding JS scripting into their app might find this useful: https://bellard.org/quickjs/
  22. Bob Devine

    PaxCompiler

    @Keesver I purchased additional licences from users (which is legit if you're in the EU) so it would be worth posting across the newsgroups to ask.
  23. Bob Devine

    PaxCompiler

    @Markus Kinzler Yes but the use-case is having the compiler embedded in your application, so GPL is no use (if it's a closed-source commercial app).
  24. Bob Devine

    PaxCompiler

    @Georgge Bakh FPC has no Basic, no Javascript and is GPL
  25. Bob Devine

    PaxCompiler

    @Keesver We have a private WeMe group and some more recent updates. Email me on gmail.com (name at the end of this post). The deal is that I confirm with Alexander that you're a registered user then you can get access. Cheers, Bob (rlsdevine@)
×