Game Development Community

Vein a doubt in GUI Members..

by Raja John · in Torque Game Builder · 12/17/2008 (11:07 pm) · 0 replies

Hi,

What is the use of AltCommand property and useMouseEvents in GUI control?

Actually if we set 1 as a value to useMouseEvents (useMouseEvents = 1;) in GuiButtonCtrl, i can able to click that button. And also if we set useMouseEvents value to 0, still i can able click it. I don know why we are using the useMouseEvents?

I've seen this msg in GUI Reference(AltCommand = "" ===> The specified console command is run when the user presses the "enter" key). Could you please explain this for me?

Thank you.............