I'm trying to find a new feature for MSFlexGrid.
As you know, we can change the BackColor of the Currently Selected Row(s) in MSFlexGrid at design time or at runtime. To change its BackColor at runtime, we can use the following code:
But I'm trying to find another feature. Let's assume that we have an MSFlexGrid on our form. Let's name it "Flex".
Now, is it possible to use "RowColChan ge" or "Scroll" events of "Flex" to cause the Currently Selected Row(s) be displayed with Bold Font? And when the Selected Row(s) change, the Unselected Row(s) change to Normal Font?
I think it's a rather difficult problem.
I have thought over it. Maybe we can read all the rows and change the Font Style of the Selected Rows. But, maybe there's a better way someone can suggest here.
Thank you for your help.
As you know, we can change the BackColor of the Currently Selected Row(s) in MSFlexGrid at design time or at runtime. To change its BackColor at runtime, we can use the following code:
Code:
BackColorSel = vbRed
Now, is it possible to use "RowColChan ge" or "Scroll" events of "Flex" to cause the Currently Selected Row(s) be displayed with Bold Font? And when the Selected Row(s) change, the Unselected Row(s) change to Normal Font?
I think it's a rather difficult problem.
I have thought over it. Maybe we can read all the rows and change the Font Style of the Selected Rows. But, maybe there's a better way someone can suggest here.
Thank you for your help.