Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Thanks! Awesome group. I put out a simple question in the access/vba forum that I couldn't find answered on technet or anywhere else on the web and it was answered the same day!!..."

Geography

Where in the world do Tek-Tips members come from?
bilalch (Programmer)
10 Oct 03 7:09

1- i didn't find any trigger from the built-ins at the
   mouse left/right click.

2- is there a way to define new event by own.
   like  on-mouse-left-click etc.

   plz help
lewisp (Programmer)
10 Oct 03 7:26
Try this in a WHEN-MOUSE-DOWN trigger on an item

IF :system.mouse_button_pressed = 1
THEN
  message ('left');
ELSIF :system.mouse_button_pressed = 3
THEN
  message ('right');
END IF;
bilalch (Programmer)
10 Oct 03 8:08
hi dear lewisp,
 thanks for ur response
 what i could understand is, that these values of 1 & 3 point to the left & right mouse buttons.
 
 if so is there the posibility to show the pop-up menue on right click means when
   ":system.mouse_button_pressed = 3"
 if so how can i point to the pop-up menu.
 
 *** 2ndly i asked if i can create an event by myself like
   i want some trigger to fire on some key press from key board.

lewisp (Programmer)
12 Oct 03 9:13
You dont need to define any triggers for a popup menu.  Simply attach your pop-up menu to whatever item you want, then use the right mouse button to display the menu.

There is no trigger directly associated with the keyboard.  The only way I have found without resorting to a java plug-in is to define a timer that checks if the contents of an item have changed and if so, fires off come code.  Using timers is not recommended on web forms, so you would have to use java and some custom-item-event triggers to trap the keyboard events.
bilalch (Programmer)
14 Oct 03 1:55
hi dear lewisp,

  can u tell me, how to define timer. i really dont know anything abt it.

 bye

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close