From: avi on
Hello,

Is there a way to display at runtime the property menu of a control so
that the user may interact with the control?

In my case, I'm speaking about the MsChart control which has a
property menu at the design phase (when picking "properties" after
right clicking on the control)

Thanks
Avi
From: Jeff Johnson on
"avi" <aviben(a)bezeqint.net.il> wrote in message
news:e2fc8178-471a-48b1-9671-fc81ca23c912(a)l14g2000yql.googlegroups.com...

> Is there a way to display at runtime the property menu of a control so
> that the user may interact with the control?
>
> In my case, I'm speaking about the MsChart control which has a
> property menu at the design phase (when picking "properties" after
> right clicking on the control)

Sounds like you're talking about the control's "property pages." (There's a
difference between a dialog box and a menu.) I'm not sure if there's an EASY
way to do this, but I'm sure it's POSSIBLE.


From: Kevin Provance on
I think either Randy Birch or Brad Martinez has an example on their
respective web sites. I forget which one. Google those names, the OP, and
take a look.


"Jeff Johnson" <i.get(a)enough.spam> wrote in message
news:i221qs$po7$1(a)news.eternal-september.org...
: "avi" <aviben(a)bezeqint.net.il> wrote in message
: news:e2fc8178-471a-48b1-9671-fc81ca23c912(a)l14g2000yql.googlegroups.com...
:
: > Is there a way to display at runtime the property menu of a control so
: > that the user may interact with the control?
: >
: > In my case, I'm speaking about the MsChart control which has a
: > property menu at the design phase (when picking "properties" after
: > right clicking on the control)
:
: Sounds like you're talking about the control's "property pages." (There's
a
: difference between a dialog box and a menu.) I'm not sure if there's an
EASY
: way to do this, but I'm sure it's POSSIBLE.
:
:

From: Karl E. Peterson on
Jeff Johnson formulated on Monday :
> "avi" <aviben(a)bezeqint.net.il> wrote in message
> news:e2fc8178-471a-48b1-9671-fc81ca23c912(a)l14g2000yql.googlegroups.com...
>
>> Is there a way to display at runtime the property menu of a control so
>> that the user may interact with the control?
>>
>> In my case, I'm speaking about the MsChart control which has a
>> property menu at the design phase (when picking "properties" after
>> right clicking on the control)
>
> Sounds like you're talking about the control's "property pages." (There's a
> difference between a dialog box and a menu.) I'm not sure if there's an EASY
> way to do this, but I'm sure it's POSSIBLE.

I have trouble imagining for what possible purpose such a call might be
made? To set design-time properties on a control that's already
instantiated???

--
..NET: It's About Trust!
http://vfred.mvps.org


From: avi on
Actually, I want to give the user at runtime a dialog for changing
most of the properties of the chart related to its apperance.

It happens that the dialog displayed at the design phase when clicking
"properties" is exactly what I want to present to the user and I was
thinking at a way to use it for that new purpose

If there is a way to disclose all the code behind the dialog, I can of
course easily build one of my one

I hope that my request is cleare now

Thanks
Avi