Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Programatically update the property grid
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Programatically update the property grid

 Post Reply Post Reply
Author
Message
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Topic: Programatically update the property grid
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.189 seconds.