Indigo Rose Software
  #1  
Old 01-26-2008
SonG0han SonG0han is offline
Forum Member
 
Join Date: Dec 2003
Posts: 155
Grin e_Key not working with Mousebuttons?

The List with key codes include mousebuttons like 2 for Right Mouse Button but it does not seem to work if you want to show a popupwindow on rightclick on a tree object or input object.

In the manual e_Type is used for the page On Mouse Button Event, but it should only appear if you rightclick specific objects.

Is there a way to do this?

Example:
PHP Code:
if e_Key == 2 then

  tblMenu 
= {};
  
tblMenu[1] ={};
  
tblMenu[1].Text "&New Menu";
  
tblMenu[1].ID 100;
  
tblMenu[1].Checked false;
  
tblMenu[1].Enabled true;
  
tblMenu[1].SubMenu = {};
  
tblMenu[1].SubMenu[1] = {};
  
tblMenu[1].SubMenu[1].Text "&SubItem 1";
  
tblMenu[1].SubMenu[1].ID 101;
  
tblMenu[1].SubMenu[1].Checked false;
  
tblMenu[1].SubMenu[1].Enabled true;
  
tblMenu[1].SubMenu[2] = {};
  
tblMenu[1].SubMenu[2].Text "S&ubItem 2";
  
tblMenu[1].SubMenu[2].ID 102;
  
tblMenu[1].SubMenu[2].Checked false;
  
tblMenu[1].SubMenu[2].Enabled true;
  
  
nRes Application.ShowPopupMenu(e_Xe_YtblMenuTPM_LEFTALIGNTPM_TOPALIGNtruetrue);

  if(
nRes == 0)then
      Dialog
.Message("Menu Result","Cancelled");
  else
      
Dialog.Message("Menu Result","Menu ID selected = "..nRes);
  
end

end 
Reply With Quote
  #2  
Old 01-30-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
We'll take a look at that (REF: 17184). I checked in version 6.0 and it actually behaved the same way. We'll have a look to see if that can be done. The only way I can see now is using one of the supported events.
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working Chat Link AudioSam AutoPlay Media Studio 6.0 9 07-04-2007 01:50 AM
Loop not working playmenow AutoPlay Media Studio 6.0 0 04-12-2006 09:48 AM
Working with Tables and Files Desmond AutoPlay Media Studio 5.0 Examples 0 12-23-2003 09:22 AM
The ? char code is not working Marker0077 Setup Factory 6.0 7 06-21-2003 05:04 PM
Set working directory imanta Setup Factory 6.0 1 05-16-2003 01:39 PM


All times are GMT -6. The time now is 03:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software