Notifications
Clear all

[Closed] Dropdown list to toolbar

 xcx

Is it possible to create Dropdown list component to toolbar? And if it is how I can do it?

1 Reply

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