Print Page | Close Window

Programatically update the property grid

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=3194
Printed Date: 18 May 2024 at 9:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Programatically update the property grid
Posted By: mlatona
Subject: Programatically update the property grid
Date Posted: 10 November 2005 at 2:59am

I use the property grid in a docked pane. I change a property value and click on the save button in the commandbar. The property grid is not updated and the old value is saved. How can I update the property grid by code.




Replies:
Posted By: Oleg
Date Posted: 10 November 2005 at 3:36am

So you click while focus belongs to Edit of Property Grid?

You can just move focus away PropertyGrid before Save it:

me.SetFocus

Save



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mlatona
Date Posted: 14 November 2005 at 2:14am
Yes, I can do it so. But is it nice? Better is it, to have a method 'Update' to update the grid.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net