I use the datagrid control to browse the query content, but the gray background of the datagrid is not very good. Can you change the color to other colors? Do you need to use the api function?
MSHFLXGD,datagrid ,2 controls BackColorBkg (but datagrid can't support)
MSHFLXGD,datagrid ,2 controls BackColorBkg (but datagrid can't support)
Code:
MSFlexGrid1.BackColorBkg = QBColor(Rnd * 15)
MSFlexGrid1.BackColorFixed = QBColor(Rnd * 10)
MSFlexGrid1.BackColorSel = QBColor(Rnd * 10)