SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2003
    Location
    Bangalore, Karnataka, India
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Selection of menu item

    Hi ,

    iam testing an application develpoed in Java. The Physical description of the menu item is
    {
    class: menu_item,
    label: "New Window",
    TOOLKIT_class: "javax.swing.JMenu"
    }

    Iam using menu_select_item("JTree;New Window;Live Quotes", 94, 498, RIGHT);

    to select an item...but everytime the position of the menu changes the above command does not work.

    Can anyone give me a solution as to how to select the menu item iresspective of its position?.

    If i remove the position parameters from the menu_select_item command it gives me an error.

  2. #2
    Moderator
    Join Date
    Mar 2002
    Location
    Tampa Bay
    Posts
    7,673
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Selection of menu item

    I don't see the 4th parameter in my TSL help. Maybe it's a 7.6 enhancement??

    You said "If i remove the position parameters from the menu_select_item command it gives me an error." Meaning - remove them as in leave them out altogether? Or make them null and leave the commas in place. If the former, sure - it would fail - the parameters are positional. Otherwise, what error are you getting?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:04 PM.

Copyright BetaSoft Inc.