Game Development Community

Right clicking in Torque Tutorial

by Michael Rogers · in Torque Game Engine · 01/15/2005 (5:59 pm) · 11 replies

I'm *really* embarassed that I have to ask this, but I'm working through the Torque Tutorial, and I'm trying to right click on a control to give it focus, and I don't know how (tried control-click, option click, option-control click, etc., etc., to no avail).

Help!

Michael Rogers

#1
01/15/2005 (6:36 pm)
You might have to go out and get a two button mouse. :)

I'm not a mac user, though, so perhaps one of the more experienced Mac Torque users can help you out.
#2
01/15/2005 (7:32 pm)
I can't handle that many buttons :-) Seriously, most applications let you hold down a meta key while clicking, to simulate a right-click. I can't possibly be the first person to have this problem...

Cheers,

Michael
#3
01/16/2005 (1:28 am)
Torque has a tough time reading those keys on OSX. Known issue, but it should be fixed in the next major release.
#4
01/22/2005 (6:46 pm)
Now I'm working through the tutorial (http://www.garagegames.com/docs/torque/general/ch03s04.php), attempting to put a GuiTextCtrl inside a dialog window. But since I can't bring the dialog window into focus by right-clicking, how can I get the GuiTextCtrl nested inside that window?

Do I really have to go out and buy a 2-button mouse? Or is there some workaround? (For example, can I bring up the console and issue some command to bring the window into focus?)

Thanks for any insights,

Michael
#5
01/23/2005 (6:55 am)
@Michael,

I don't want to sound rude, but purchase a two button mouse with a scroll wheel. You WILL notice that OSX works even better with it.
#6
01/23/2005 (7:27 am)
Bruno,

Thanks for the advice. I'm off to get one...

Michael
#7
03/26/2005 (8:09 pm)
I just started with Torque and in working through the tutorials had this same problem. I'm working on a powerbook, and while I can go get my multibutton mouse in the other room, and move to a table so I have a flat surface, I'd rather sit on my fat a@# and use my finger. Hope they can fix this soon :-)
#8
03/26/2005 (10:24 pm)
I can't imagine life without a scroll mouse, and I use Final Cut Pro, DVD Studio Pro, Logic, and Shake daily. The idea of not having one (especially since the G5 mice had a habit of sending illicit USB charges to my computer and rebooting the machine...which was a known power management problem that was never fixed but didn't happen with a $5 Microsoft scroll mouse, I could afford to go to Staples or Office Max or Walmart and buy a mouse that wouldn't reboot my machine or give access faults when I moved it).

Maybe that's just me and using the pro apps that Apple puts out as well as also using PC apps. Still, I doubt it. It use Pro apps every day and buying a $5 mouse rather than a $100 shuttle unit is worth it for me. It's a low-cost peripheral that aids my time.
#9
03/26/2005 (10:44 pm)
Powerbook users might consider taking a look at Sidetrack, a 3rd-party utility that enables extra features on the trackpad. One of the options you can set is to use one of the corners of the trackpad to act as a right-click (or any other key combination you can think of). You can even enable trackpad scrolling, which is really handy for long documents.
#10
03/28/2005 (2:56 am)
If you'll notice, each controls objectID# is right there in the tree view. So if you were to create a control and it popped up as "1391" and then you create your text control and it comes up as "1392", then you can toggle your console and type in

1391.add(1392);

and it will add the text control to the gui control just as if you had focused the control with a right click and then added it. You could even create a new button that pops up a small dialog that accepts a group ID and then an obj ID and when you hit ok it adds the obj to the group as if you had typed in the commands.
#11
03/30/2005 (8:34 am)
I just started with Torque and in working through the tutorials had this same problem. I'm working on a powerbook, and while I can go get my multibutton mouse in the other room, and move to a table so I have a flat surface, I'd rather sit on my fat a@# and use my finger. Hope they can fix this soon :-)