Datagrid caption does not update
I have a form that contains a datagrid control. This form call another form and from that form i change the datagrid caption property. When i show the form that contains the datagrid, the property caption it have not changed. But if i give it the focus the property is updated.
I After change the property value call the refresh method on the datagrid, But that not update the datagrid display
If somebody has the answer i will thank it a lot
Re: Datagrid caption does not update
Quote:
Originally Posted by
Cristian
I have a form that contains a datagrid control.
Did you mean a DataGridView control :confused:
Quote:
Originally Posted by
Cristian
This form call another form and from that form i change the datagrid caption property.
Is it the caption property ?
Re: Datagrid caption does not update
You must have something wrong in your code...
I just tested that and the caption changed, and the form was in the background and not focused...
Something like:
vb.net Code:
Form1.DataGrid1.CaptionText = "New Caption"