
-----------------------------------
tum_twish
Wed Apr 23, 2003 7:35 am

One shortcut for two buttons.
-----------------------------------
When using GUI.CreateButtonFull, how can I make it such that two buttons are pressed when the  (chr 10) key is pressed?

-----------------------------------
Office of the Registar
Fri Apr 25, 2003 9:14 am


-----------------------------------
what do you mean two buttons are pressed?

-----------------------------------
Tony
Fri Apr 25, 2003 9:19 am


-----------------------------------
I assume press both buttons at same time :? Though I dont understand why. Maybe if you post why you need to do so we might come up with another solutoin for the problem?

-----------------------------------
tum_twish
Fri Apr 25, 2003 10:38 am


-----------------------------------
I am doing a program that calculates permutations and combinations.  However, it is required that we have two buttons, one for each action.  But if you press enter, both procedures for both buttons will execute.

-----------------------------------
Office of the Registar
Fri Apr 25, 2003 2:21 pm


-----------------------------------
Do you want it to produce two things when you press enter?

-----------------------------------
Blade
Fri Apr 25, 2003 2:33 pm


-----------------------------------
what if you have each action in different (or the same) procedure, and have both procedures executed when the button is pressed

-----------------------------------
Tony
Fri Apr 25, 2003 5:20 pm


-----------------------------------
make a 3rd hidden button and set its shortcut to be enter (if thats possible).

for 3rd button's procedure make it call procedures from buttons 1 and 2. So technically you'll be making a 3rd button (but its hidden) which presses other 2 for you  :D
