Activating Drop-Down

S

saxso

Does anyone know how to activate the drop-down list in
the "combo-box" user interface widget?
 
C

Chris Roth [ Visio MVP ]

On a VBA form?

You need to add items...

Private Sub UserForm_Initialize()
Me.ComboBox1.AddItem ("bob")
Me.ComboBox1.AddItem ("sue")
End Sub

Or do you mean programmatically get it to drop down???

--

Hope this helps,

Chris Roth
Visio MVP
 
S

saxso

Hi Chris...

Thank you for the reply.

What I meant was that some stencils have properties that allow you to change
their display state.

For instance, a folder can be set to "Open" or "Closed" display state. It is
similar to what I want to do with the drop-down list; set the property show
the list "Expanded" and/or "Closed".

I remember some stencils have display state conditions where they can
display the various states.

Thank you for any information you can provide.
 
M

Mark Nelson [MS]

In Visio, you would add an Actions section to your shape and then insert a
row in the Actions section for each state you want to define. All this is
done in the Shapesheet (Window > Show Shapesheet).

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top