Customizing Property Dialog Box

Started by dhanku, April 28, 2009, 11:28:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dhanku

Hello All,

Thanks in advance for reading and replying to my query.
I am struggling in my current assignment which has a lot to do with Visio - and I am no expert in that - so hoping you could help.

Firstly , I have to tweak the shape's custom property dialog in such way to be able to have a drop down box with multiple select feature. Is this possible?

Secondly I would like to validate the entries made in the custom property dialog box fields and throw appropriate errors. How can do that?

It'll be a great help if somebody could help me with some pointers to achieve the above.

Ta.



Yacine

That sounds like a typical application for visual basic.

You'll probably first make sure that the user can't put in values that you can't control.
So put the invisible property of all the shape data to true.

A double click or/and an action menu would then call with "CALLTHIS" the form that you'll have prepared in VBA.

Alternatively, you may want to write all the behaviour of your shape in the shapesheet, but that's a lot "trickier".
Yacine