Page 1 of 1

Feature rq: RVStyleTemplateComboBox BorderStyle = bsNone

Posted: Mon Aug 22, 2016 7:32 pm
by max.beliy
Hi,
I want request feature for RVStyleTemplateComboBox - Zero Border.
Some thing like BorderStyle = bsNone

Posted: Mon Aug 22, 2016 7:45 pm
by Sergey Tkachenko
This combobox is based on the standard TComboBox. It only overrides DrawItem method to draw preview of styles, but all other parts of the combobox (border, button) are drawn like in a normal combobox.

In future, we plan to create style comboboxes based on thirdparty components (SpTBXLib, DevExpress, etc.)

Posted: Tue Aug 23, 2016 9:36 am
by Steku
Sergey Tkachenko wrote:This combobox is based on the standard TComboBox. It only overrides DrawItem method to draw preview of styles, but all other parts of the combobox (border, button) are drawn like in a normal combobox.

In future, we plan to create style comboboxes based on thirdparty components (SpTBXLib, DevExpress, etc.)
+1 (DevExpress)

Posted: Tue Aug 23, 2016 10:37 am
by max.beliy
Sou then

Code: Select all

 SetWindowRgn(ComboBox1.Handle, CreateRectRgn(2,2,ComboBox1.Width - 2,
               ComboBox1.Height - 2), True)
will be enough.

thanks