Change Color of TRzComboBox When Style is csDropDownList.

Home Forums Konopka Signature VCL Controls (formerly Raize Components) Change Color of TRzComboBox When Style is csDropDownList.

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #2551
      Steve Gill
      Participant

        Is it possible to change the background color of a TRzComboBox when the selected Style is csDropDownList?

        = Steve

         

      • #2554
        Ray Konopka
        Keymaster

          Hi Steve,

          Unfortunately, not directly using the component. The Custom Framing properties (e.g. FrameVisible) will affect the frame of the control, but the client area is managed by Windows and it treats the csDropDownList style as special.

          Now, as an alternative, you could use a custom VCL style for the combo box and get the appearance you are looking for. The new per-control VCL Styling could be very useful in this case where you could just customize the particular combo box that you are trying to color.

          Ray

        • #2555
          Steve Gill
          Participant

            Hi Ray,

            I haven’t heard of the per-control VCL styling.  I’m guessing that’s with 10.4?

            I only have 10.2 and can’t afford to upgrade so it looks like I’m stuck with the way it is now.

            = Steve

             

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