ADAdministrator Syncfusion Team September 8, 2004 06:35 AM
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 07:30 AM
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 07:45 AM
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 08:05 AM