Jump to content

Dave Nottage

Members
  • Content Count

    342
  • Joined

  • Last visited

  • Days Won

    10

Dave Nottage last won the day on March 30

Dave Nottage had the most liked content!

Community Reputation

128 Excellent

2 Followers

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dave Nottage

    Global StyleBook component

    Yes, that is a drawback of using a datamodule. That said, different custom styles for the same controls inside the same application seems like inconsistent UI design to me.
  2. Dave Nottage

    Global StyleBook component

    Use a DataModule
  3. You cannot rewrite that java code into Delphi code, since it is creating a descendant of a Java class, which is presently not possible with Delphi. You can however create descendant in Java code that can then be consumed by Delphi. I've been meaning to do a blog post about this for quite some time now because it requires a fair amount of explanation as to how to go about it.
  4. Dave Nottage

    Can't find compiled macOS app

    It's in on the Mac, in /Users/[username]/PAServer/scratch-dir/[computername]-[profilename], where [username] = the macOS username [computername] = the Windows computer name you're deploying from [profilename] = the connection profile name you're using eg: /Users/dave/PAServer/scratch-dir/dell-Mac I have Delphi expert and companion macOS app that has functionality that opens Finder on the Mac to show you exactly where it is, here: https://github.com/DelphiWorlds/Mosco
  5. Dave Nottage

    Custom TrueType font in FMX Android app?

    Your example doesn't work on Android < 10 without those changes. I'm wondering how it ever would have, unless it included a font file without -Bold or -Regular on the end (which is not in the example). I've attached an update to the example that works on my Android 5.0.1 and Android 10 devices. true_font_b.zip
  6. Dave Nottage

    Custom TrueType font in FMX Android app?

    You'll need to modify the patch in FMX.FontGlyphs.Android.pas to look like this: NameFont := TPath.Combine(TPath.GetDocumentsPath, CurrentSettings.Family); if not CurrentSettings.Style.Weight.IsRegular and TFile.Exists(NameFont + '-Bold.ttf') then NameFont := NameFont + '-Bold.ttf' else if CurrentSettings.Style.Weight.IsRegular and TFile.Exists(NameFont + '-Regular.ttf') then NameFont := NameFont + '-Regular.ttf' else NameFont := NameFont + '.ttf';
  7. Dave Nottage

    Adding new Items to the Project Tree?

    Not through the ToolsAPI. Just curious: what kind of node do you want to add?
  8. Dave Nottage

    Custom TrueType font in FMX Android app?

    The same method works OK on mine with Font Awesome. Which font(s) are you using?
  9. Dave Nottage

    Mac Catalina and OpenSSL + Indy

    Yes; I would not have mentioned them otherwise. Depending on the version of macOS (especially later versions), the OpenSSL libs will not work with Indy. Perhaps something in Indy changed.
  10. Dave Nottage

    Mac Catalina and OpenSSL + Indy

    Which dylibs are you using? These worked for me on whatever version of 10.15.x was current 6 months ago: https://github.com/DelphiWorlds/KastriFree/tree/master/Lib/OpenSSL/1.0.2s/macOS I have not tested them on 10.15.3 as yet.
  11. Dave Nottage

    Boolean evaluation

    That was exactly my thought when you made this comment: What was the error, and why was it hard to catch?
  12. Dave Nottage

    ANDROID64 Conditional compiling

    There appears to be an ANDROID64 define (it's all over the Delphi source). Probably just not documented?
  13. Dave Nottage

    ANDROID64 Conditional compiling

    In what circumstances would the code do something different?
  14. Dave Nottage

    Test your product with UTF-8 beta setting

    So is CodeGear
  15. Dave Nottage

    TMapView overlay

    Controls that support ControlType of Platform appear above the MapView. Not sure if that helps you...
×