Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / May 2006

Tip: Looking for answers? Try searching our database.

Can't get a PropertyGrid to refresh

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Noah Stein - 23 May 2006 20:01 GMT
I've been fighting this for a solid 30 minutes now. When I change the value
of a property outside of the grid, I can't get the grid to change the
display. If I obscure the window behind another window and then return it to
the top, the grid displays the proper value. I call Refresh() on the
PropertyGrid. After that, I've attempted other calls to try to get the
display updated, but all to no avail.  Invalidate() and Update(), even in
combination after Refresh(), don't cause the grid to display the new value.
I'm developing using Managed C++ in VS 2005. Does anybody have any ideas?

Thanks,
Noah
Stoitcho Goutsev (100) - 23 May 2006 21:57 GMT
Noah,

Noah,

Are using the property grid inside VS (design time) or you are using the
PropertyGrid in you application (not related to VS)?

Signature

Stoitcho Goutsev (100)

> I've been fighting this for a solid 30 minutes now. When I change the
> value of a property outside of the grid, I can't get the grid to change
[quoted text clipped - 8 lines]
> Thanks,
> Noah
Noah Stein - 23 May 2006 22:22 GMT
At runtime in my application.

This should have been in the controls group, but I didn't realize I'd
accidentally clicked on regular windowsforms.

-- Noah

> Noah,
>
[quoted text clipped - 15 lines]
>> Thanks,
>> Noah
Noah Stein - 24 May 2006 00:22 GMT
Ignore my original posting. Something else in the system was intercepting
the repainting after the refresh. Thanks.

> Noah,
>
[quoted text clipped - 15 lines]
>> Thanks,
>> Noah

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.