That is not the real program i just made that one to give you an idea instead of me explaining itYou don't say what the output is meant to be, but I'm assuming you want some output to appear on press of the "generate" button when you've first pushed the "select first" button, and subsequently checked the "select second" optionbox?
If so, I'd just use a couple of boolean variables. When the first button is clicked, set variable bool1 to true, then when the second optionbox is checked set variable bool2 to true IFF bool1 is true (so you have to press the button first.)
Then when the "generate" button is hit just check whether bool2 is true, and if so show whatever output you want to show.
Seems like a bit of a bizarre program though, any reason for it?
No theyre not drop down lists in order for the "generate" to generate something select 1 and select 2 need to be selected then generate is the outpux of Textbox1 or outputso select 1 is a drop down list or something?
and select 2 is a drop down list
then you press generate.
what you need to do is edit the generate button and add an on_click event
the on click event should say something like.
output.text = "you chose " & select1.text & " and you also chose " & select2.text