Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Posts
    163

    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 

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    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: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Similar Threads

  1. Working Chat Link
    By AudioSam in forum AutoPlay Media Studio 6.0
    Replies: 9
    Last Post: 07-04-2007, 12:50 AM
  2. Loop not working
    By playmenow in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 04-12-2006, 08:48 AM
  3. Working with Tables and Files
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 12-23-2003, 08:22 AM
  4. The ? char code is not working
    By Marker0077 in forum Setup Factory 6.0
    Replies: 7
    Last Post: 06-21-2003, 04:04 PM
  5. Set working directory
    By imanta in forum Setup Factory 6.0
    Replies: 1
    Last Post: 05-16-2003, 12:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts