AlphaSkins not working with TTntMainMenu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #56201
    Outertech
    Participant

      I have attached an example project including executable.

      There is an empty TTntEdit. Paste any Russian or Chinese text into the edit, and then hit the button.

      You will see…

      with sSkinManager1.Enabled = True

      Window caption is ????????

      Mainmenu is ????????

      Button has correct unicode text

      [attachment=8167:on.png]

      with sSkinManager1.Enabled = False

      Window caption, Mainmenu, and Button have ALL correct unicode text.

      [attachment=8168:off.png]

      [attachment=8166:UnicodeTest.rar]

      #56199
      Support
      Keymaster

        Hello

        You should enable the “TNTUNICODE” key in the sDefs.inc file for support of the TntUnicode package:

        Code:
        {$DEFINE TNTUNICODE} // Enable Unicode support by TntControls

        But, I see an error in the package now if this key is enabled. I will send you a patched file for the AlphaControls v12.00, by email.

        #56215
        Outertech
        Participant

          With {$DEFINE TNTUNICODE} AlphaSkins does not compile with Delphi 7.

          It uses TNTWidestrings.pas, which is a Delphi 2006+ unit.

          With Delphi 7 TNT Control declares all WideString classes in TntClasses.pas.

          #56238
          Support
          Keymaster

            The code will be improved in the nearest release.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.