Creating a new component by combining two controls (TEdit and TTrackBar) in Delphi VCL

后端 未结 3 1134
悲哀的现实
悲哀的现实 2021-01-12 12:28

I am developing a Delphi 10.1 VCL application for Windows.

For integer or float input I need a number input field which is connected with a slider. When the user cha

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-12 13:13

    Maybe using a container control that contains both controls is a simpler alternative. I am using ccpack for this.

    https://sourceforge.net/projects/ccpack/

    Custom Containers Pack (CCPack) is an integrated tool and component mini- library to produce and maintain composite controls (or simply “composites”) and other containers (forms, data modules and frames). The process of building composite components looks like ActiveForm and Frame creating, but the result is the native VCL component. You can create new composites just as usual forms.

提交回复
热议问题