Asked By
jabez zion
10 points
N/A
Posted on - 11/05/2012
The BackColor property just connects with the grounding of the unit region-the unused region around that (if units don't fill the control) appears to default to Bind Face.Â
Is there any manner to set this straightforwardly?
I should set picture background datagrid vb6 then again make the unused territory transparent to the form/container beneath it?Â
Â
Need picture background DataGrid vb6
Hi Jabez!
-
Select Project and then Components, and add the DataGrid to your VB project.
-
Select Microsoft DataGrid Control 6.0 (OLEDB) from the list of components and click OK to save and close the screen.
-
The DataGrid will be in your toolbox.
-
Select the DataGrid control from the toolbox, and drop it onto your VB form. the DataGrid will look similar to a database table or an excel spreadsheet.
-
You can set the properties for how you want the control to look now.
-
Now change the background color of the DataGrid when the user clicks on it by coding,
-
"DataGrid1.BackColor= vbNewColor" in the "DataGrid1_Click()"
Now you change the text color of the DataGrid by coding,
-
"DAtaGRid1.ForeColor = vbNewColor" in the "DataGrid1_RowColChange()"