|
-
Apr 15th, 2010, 08:34 AM
#1
Thread Starter
Addicted Member
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
-
Apr 15th, 2010, 10:35 AM
#2
Frenzied Member
Re: Datagrid caption does not update
 Originally Posted by Cristian
I have a form that contains a datagrid control.
Did you mean a DataGridView control
 Originally Posted by Cristian
This form call another form and from that form i change the datagrid caption property.
Is it the caption property ?
If you find my reply helpful , then rate it
-
Apr 15th, 2010, 06:13 PM
#3
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"
Rate People That Helped You
Mark Thread Resolved When Resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|