Oh I see then. This is normal that you get an exception. The sample
properties in various callback methods (like OnPropertyCreated). If you
object". If you want to discover SPG, try to integrate it with your
code. If you modify the sample without reading the doc, you risk to
> Alright, no matter. I meant of course "SelectedObject".
> Yuri
>
> "VisualHint" <cadilhac@gmail.com> wrote in message
> news:1165092961.307468.164950@80g2000cwy.googlegroups.com...
> Hello Yuri,
>
> thanks for your answer. However I don't understand what you are saying
> about "this property". Which property ? Since this post becomes some
> troubleshooting of your issue, I propose that you post it at
> forums.visualhint.com with further explanations (if you wish, of
> course).
>
> Best regards,
>
> Nicolas Cadilhac
> VisualHint
>
>
> Yuri O a =E9crit :
>
> > Hi Nicolas
> >
> > Thanks for explanation.
> > I tried your latest demo downloaded from your site (lib build v2.0.5072=
7).
> > I merely tried to assign this property & it failed with reason "object
> > reference not set".
> > I also did not find this property in design-time in MS prop grid. Is it
> > right observation?
> > ps: Just to note: You component looks promising, keep up your work.
> >
> > Thanks
> > Yuri
> >
> >
> > "VisualHint" <cadilhac@gmail.com> wrote in message
> > news:1165066119.075369.27340@16g2000cwy.googlegroups.com...
> > Hello Yuri,
> >
> > I'm the author. I don't know when you checked SPG the last time. I
> > think the term "at all" is a bit premature. SelectedObject (and now
> > SelectedObjects) is used practically by all my customers with success.
> > At first it was just a simple way to migrate an application easily and
> > then the customer would have to use techniques more specific to SPG.
> > But I quickly realized that developers like this way of binding an
> > object and that it's difficult or simply not desired for them to change
> > their code, so I made sure that SelectedObject(s) would be feature
> > complete. However, sometimes, it is challenged by a very special use of
> > converters and descriptors and this allows me to enhance SPG or add
> > something I would have forgotten. If you have such an issue, I will be
> > happy to analyze it and fix the code. You can do so here, in my forums
> > or directly by email. Thank you.
> >
> > Best regards,
> >
> > Nicolas Cadilhac @ VisualHint (
http://www.visualhint.com)
> > Home of Smart PropertyGrid for .Net and MFC
> > Microsoft PropertyGrid Resource List -
> >
http://www.propertygridresourcelist.com > >
> >
> > Yuri O a =E9crit :
> >
> > > I tried SPG but it seems the SelectedObject property does not work at
> > > all.
> > > I
> > > do not realize why author announced the support of reflection in such=
a
> > > case.
> > >
> > > - Yuri
> > >
> > > "VisualHint" <cadilhac@gmail.com> wrote in message
> > > news:1164991072.647700.152970@l12g2000cwl.googlegroups.com...
> > > Hello,
> > >
> > > I don't see the original message before Robert's answer but did the
> > > original poster had a look to Smart PropertyGrid.Net ?
> > >
> > > Best regards,
> > >
> > > Nicolas Cadilhac @ VisualHint (
http://www.visualhint.com)
> > > Home of Smart PropertyGrid for .Net and MFC
> > > Microsoft PropertyGrid Resource List -
> > >
http://www.propertygridresourcelist.com > > >
> > >
> > > Robert Fuchs a =E9crit :
> > >
> > > > > Kindly clarify;
> > > > >
> > > > > 1. I want to change the settings of a third party .NET control
> > > > > PropertyGrid.
> > > > >
> > > > > 2. I want to make certain properties hidden from the user.
> > > > >
> > > > > 3. How can I make this happen from my code.
> > > >
> > > > how about asking the vendor of the grid?
> > > >
> > > > regards, Robert