TRzBitBtn

Viewing 3 reply threads
  • Author
    Posts
    • #2499
      Ken Greger
      Participant

        Hi,

        I recently updated to Delphi 10.4.2 with Konopka Signature VCL Controls 7.0.0.  Since running this update, some  images on the TRzBitBtn have a black background at runtime, but they appear fine in design.  Sometimes these buttons do not have the Glyph bitmap assigned.  Is there a property that needs to be assigned?

        DesignTime In Design

        Runtime

        Thanks

      • #2595
        Ray Konopka
        Keymaster

          Hi Ken,

          I have been unable to duplicate the behavior you show in your screenshots. Are you able to duplicate the issue in a test project? It appears that you have HotTrack turned on, but you must also have the ThemeAware property turned off. What I do not know is if you are using a VCL style for the rest of the form, etc.

          Ray

        • #2605
          Ken Greger
          Participant

            Hi Ray,

            I rolled back to KSVC version 6.5.0 and the images are working correctly again in both design & runtime without other changes to code.  My Delphi is at 10.4 Update 2.

             

            The form itself is very simple, nearly all the properties are the defaults with no modifications in the .pas. From the .dfm:

            Left = 400
            Top = 349
            ActiveControl = pcMain
            BorderIcons = [biSystemMenu]
            BorderStyle = bsDialog
            Caption = ‘Enter User ID and Password’
            ClientHeight = 247
            ClientWidth = 410
            Color = clBtnFace
            DefaultMonitor = dmPrimary
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = ‘Arial’
            Font.Style = []
            OldCreateOrder = True
            Position = poDesktopCenter
            OnActivate = FormActivate
            OnCreate = FormCreate
            OnDestroy = FormDestroy
            OnHide = FormHide
            OnShow = FormShow
            PixelsPerInch = 96
            TextHeight = 14

             

            Here are the button’s properties from the .dfm, and no changes are made to the button in the .pas unit:

            object BitBtn1: TRzBitBtn
            Left = 331
            Top = 1
            Width = 71
            Height = 24
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = ‘Arial’
            Font.Style = []
            HotTrack = True
            ParentFont = False
            TabOrder = 1
            Kind = bkCancel
            Margin = -1
            end

             

            Thank you,

            Ken

          • #2614
            Ray Konopka
            Keymaster

              Hi Ken,

              I found out from Marco Cantu at Embarcadero that bug reports for the KSVC can be entered using Quality Portal. Marco recommended adding “KSVC” in the title to help them filter for them since they do not have a specific category for the component library.

              Please fill out a Quality Portal (https://quality.embarcadero.com/secure/Dashboard.jspa) report for this issue so that Embarcadero can track it and fix it.

              Ray

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.