PDA

View Full Version : Dropdown list to toolbar


xcx
09-13-2005, 07:56 AM
Is it possible to create Dropdown list component to toolbar? And if it is how I can do it?

Light
09-13-2005, 01:11 PM
Antti,

Maybe this does what you need:

rollout new ""
(
dropDownList num "" items:#("1", "2", "3") pos:[4,4] width:113

on new open do
(
cui.registerDialogBar new
cui.dockDialogBar new #cui_dock_top
)

on num selected i do print ("Selected : " + num.items[i])
)
createDialog new 120 29



Light

CGTalk Moderation
09-13-2005, 01:11 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.