TRZComboBox csSimple Style.

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #2539
      Steve Gill
      Participant

        Hi Ray,

        I was just wondering what the csSimple style does.  The help file doesn’t show anything.

        Thanks,

        Steve

      • #2552
        Ray Konopka
        Keymaster

          Hi Steve,

          The csSimple style is a very old style of Windows COMBOBOX. It is essentially a and edit box and a list (just like what we typically think of as a combo box), but the edit box and list box are always visible.

          If you drop a TComboBox or TRzComboBox onto a form and then change the Style to csSimple you will notice that the drop arrow goes away. What is not so obvious is that you can then use the drag handles to make the control taller. When you do this, you will see the list portion of the control become visible.

          BTW, the controls used in the standard Font dialog box (for font name, style, and size) are “simple” combo boxes.

          Hope this helps,
          Ray

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.