![]() |
Retrieving data from a PropertyGrid.... |
Post Reply ![]() |
Author | |
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() Posted: 26 May 2004 at 3:35pm |
What's the best way to walk through a property grid and grab all the data? Each branch has multiple children, like a tree control. I wrote a recursive function to go from the top to the bottom, but it skips some lines. I was hoping for something like "GetRow(rowNumber)" or something.... Please Help! Thanks! - David |
|
![]() |
|
ddyer ![]() Groupie ![]() ![]() Joined: 01 December 2003 Location: United States Status: Offline Points: 40 |
![]() ![]() ![]() ![]() ![]() |
Why does your recursive descent skip lines? One way to get the data is to be proactive about it and snag it on a XTPWM_PROPERTYGRID_NOTIFY event. |
|
![]() |
|
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() |
We are populating the PG from a file, and re-writing that file from the data in the PG (there isn't really an internal data structure), so catching XTPWM_PROPERTRYGRID_NOTIFY would only catch what the user has modified. We need to whole grid... I think I've solved the recursive read thing, but still hare having some problems with UI type stuff, like cut/copy/paste. Thanks! -David |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |