ADAdministrator Syncfusion Team September 8, 2004 11:35 AM UTC
Unless you are using a themed operating system and set grid.ThemesEnabled = true, there is no simple way to change the look of combobox buttons, and it would be even harder to change the look of the combobox scrollbar.
Your only option would be to try the draw the buttons yourself. There are several ways you can attempt this. For example, you could hide the buttons using the ShowButtons style property, and then handle the CellDrawn event and draw the buttons there yourself. Using CellDrawn, you would probably lose the Feedback features of the button.
More work would be deriving a cell control where you draw your own button. You can look at the grid\samples\in depth\cellbuttons for examples of deriving cell controls based on buttons.
SHShriSeptember 8, 2004 12:30 PM UTC
if i set the themesenabled = true and the appilcation is run on an OS which doesnt support the themes will my code break or the default setting be applied.
how about the changing the color of the ButtonAdv does it work the same way
ADAdministrator Syncfusion Team September 8, 2004 12:45 PM UTC
Our samples ship with ThemesEnabled and they work on non-XP systems. So, enabling these should not cause any problems.
As far as ButtunAdv, checking with a Tool engineer, he says that control is not really productized yet. So, I am not sure that it will respond to setting its FlatStyle or not.
ADAdministrator Syncfusion Team September 8, 2004 01:05 PM UTC