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 / Design Time / December 2006

Tip: Looking for answers? Try searching our database.

3rd Party Control Property Grid.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ibrahim. - 01 Dec 2006 06:38 GMT
Hello,

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.

Regards,
Robert Fuchs - 01 Dec 2006 16:00 GMT
> Kindly clarify;
>
[quoted text clipped - 4 lines]
>
> 3. How can I make this happen from my code.

how about asking the vendor of the grid?

regards, Robert
VisualHint - 01 Dec 2006 16:37 GMT
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 ?crit :

> > Kindly clarify;
> >
[quoted text clipped - 8 lines]
>
> regards, Robert
Yuri O - 01 Dec 2006 19:31 GMT
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

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 écrit :

> > Kindly clarify;
> >
[quoted text clipped - 8 lines]
>
> regards, Robert
VisualHint - 02 Dec 2006 13:28 GMT
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 écrit :

> 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
[quoted text clipped - 28 lines]
> >
> > regards, Robert
Yuri O - 02 Dec 2006 19:32 GMT
Hi Nicolas

Thanks for explanation.
I tried your latest demo downloaded from your site (lib build v2.0.50727).
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

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 écrit :

> I tried SPG but it seems the SelectedObject property does not work at all.
> I
[quoted text clipped - 29 lines]
> >
> > regards, Robert
VisualHint - 02 Dec 2006 20:56 GMT
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 écrit :

> Hi Nicolas
>
[quoted text clipped - 67 lines]
> > >
> > > regards, Robert
Yuri O - 02 Dec 2006 21:13 GMT
Alright, no matter. I meant of course "SelectedObject".
Yuri

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 écrit :

> Hi Nicolas
>
[quoted text clipped - 70 lines]
> > >
> > > regards, Robert
VisualHint - 02 Dec 2006 22:54 GMT
Oh I see then. This is normal that you get an exception. The sample
creates the content of the grid dynamically and acts on those
properties in various callback methods (like OnPropertyCreated). If you
change the content of the grid by using SelectedObject, you also have
to comment the code that I have put in those callbacks that is specific
to my sample and that will be totaly unrelated to your "selected
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
break something.

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 écrit :

> Alright, no matter. I meant of course "SelectedObject".
> Yuri
[quoted text clipped - 88 lines]
> > > >
> > > > regards, Robert

Rate this thread:







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.