Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10
  1. #1
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144

    Menu Bar Shortcuts

    Does anyone know how to do that shortcut things in a menu bar? Look at the attachment. Does anyone know how to do that on the right side? THanks
    Attached Images

  2. #2
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144
    Anyone?????

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    you will need to setup hotkeys in the page timer

    eg:
    Code:
    if System.IsKeyDown(17) and System.IsKeyDown(78) then
    	if not KillKey then
    		KillKey=true
    		Dialog.Message("Test","Ctrl + N Pressed")
    		KillKey=false
    	end
    end
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144
    yea... I know that... But how do I put that text in the right side of the menu item? that tells you what the shortcut keys are... like in the print screen?

  5. #5
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144
    anyone knows??

  6. #6
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144
    Please help!

  7. #7
    Join Date
    May 2006
    Posts
    5,380
    go in to the menu properties window and set the text then insets spaces !
    Open your eyes to Narcissism, Don't let her destroy your life!!

  8. #8
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144
    no... cause then it makes the width of the menu longer and it is not at the side... it's at the middle... nice try but I tryed it... ANYONE?

  9. #9
    Join Date
    May 2006
    Posts
    5,380
    well, i dont know about ams, but if a tab is used in pb (menu text) then the spaces are all the same and all aligned to right side, you will have to use "String.Char" and build your menu by code.


    EDIT:

    Yes it dose work like that, i just done a quick test with the below code in page onshow
    Code:
    -- Create a table containing all menu information
    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"..String.Char(9).."Ctrl+F";
    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 Long 2"..String.Char(9).."Ctrl+F";
    tblMenu[1].SubMenu[2].ID = 102;
    tblMenu[1].SubMenu[2].Checked = false;
    tblMenu[1].SubMenu[2].Enabled = true;
    
    -- Set the menu based on the info in the above table
    Application.SetMenu(tblMenu);
    Last edited by RizlaUK; 01-25-2008 at 05:10 PM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  10. #10
    Join Date
    May 2007
    Location
    New Jersey
    Posts
    144
    Thanks.......

Similar Threads

  1. Article: Adding a Menu Bar System
    By Brett in forum AutoPlay Media Studio 7.5 Examples
    Replies: 5
    Last Post: 12-04-2006, 07:31 PM
  2. More Menu Bar Examples
    By Roboblue in forum AutoPlay Media Studio 7.5 Examples
    Replies: 5
    Last Post: 02-28-2006, 08:58 AM
  3. More Menu Bar
    By Roboblue in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 02-06-2006, 05:36 PM
  4. TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-10-2002, 02:39 PM
  5. HOWTO: Create Nested Shortcuts in the Start Menu
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-24-2002, 10:26 AM

Posting Permissions

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