Thread: GUI Issue
View Single Post
  #2  
Old 02-11-2008, 01:50 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by The_Kez View Post
Just a quick question -

Using the function obj.onSelect on a text list, is there any way to check which mouse button was pressed (left or right)?
i.e Using the default f7 playerlist, right clicking brings up a new text list, left clicking does not.

Thanks for the help. =)
PHP Code:
function obj.onSelect() {
  
GraalControl.showtop();
  
GraalControl.makefirstresponder(true);
  if (
rightmousebutton) {
    
// blah 
  
}

Sorry for not helping you on N-Pulse earlier.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote