[Closed] How to manually add a button in an existing rollout?
All is in the title. I wanna add in a rollout floater the possibility for the user to enter a name in an editable field text and on press “Create”, that would add a new button in this rollout which has the previous given name.
thanks to anyone that could help me
remi
do you need the button to do anything specific when pressed according to what is entered in the text field?
for the moment it doesn’t reallt matter but yes maybe after, the name of the button will be linked to some values…
A really easy way would just be to create 10 buttons and set them to (not)visible. And change their name to whatever you want and set it to visible.
yup, that’s what i’d do too – or set the pos property of the button to outside the visible rollout area and use the edittext changed/entered event to shift it back into place.
thanks for the idea, it could be a solution
but the number of buttons will depends on the scene, sometimes there will have one or two and maybe another time about twenty. that’s why i wanted to really create a button for each new user entry.
in that case remi you’ll probably need to take a look at rolloutcreator