Notifications
Clear all

[Closed] yesnocancel box problem..?

Hi guys!
I was trying to make a “yesnocancel” box yesterday, and whenever I was adding it inside a rollout,. it wouldn’t return any value when pressing the buttons, but if placing it outside the rollout it would return them…is that to be expected? at the end I ended up having to use a custom rollout just to use the “yes no cancel” sort of thing…

thanks

1 Reply

This works for me:

rollout ro_test "" width:224 height:128
 (
 	button bt_1 "button" pos:[48,48] width:120 height:32
 	
 	on bt_1 pressed do
 	(
 		result = yesnocancelbox "Make your choice."
 		print result
 	)
 )
 createdialog ro_test