ThySpektre
TH.net Regular
- Reaction score
- 10
OK, it seems the common "read 'probably only'" way to check which dialog button was pressed is to loop through the array of all dialog buttons for a given dialog and compare if this is the right one.
This seems rather inefficient.
"Is this the right one?" "No."
"Is this the right one?" "No."
"Is this the right one?" "No."
"Is this the right one?" "Yes!"
This seems to be how you do everything nowadays in .Net as well
Is there anyway to simply get an integer representing the index of the button in the array that was clicked?
ThySpektre
This seems rather inefficient.
"Is this the right one?" "No."
"Is this the right one?" "No."
"Is this the right one?" "No."
"Is this the right one?" "Yes!"
This seems to be how you do everything nowadays in .Net as well
Is there anyway to simply get an integer representing the index of the button in the array that was clicked?
ThySpektre


