SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Aug 2002
    Location
    Pune,Maharastra,India
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Not Recognizing sub menu tag

    Following is the Menu Structure under window:
    --------------------------------------------
    Window

    MainMenu

    MenuItem1
    MenuItem2 ---> SubMenuItem1
    SubMenuItem2
    MenuItem3
    --------------------------------------------

    If I use foll stmt then it gives error.

    if (object1.DoItemExist(window.MainMenu.MenuItem2,"Su bMenuItem2"))

    where DOItemExists is user-defined method, which checks whether SubMenuItem2 exists
    and "object1" is an object, which invokes DOItemExists method.

    The error : -

    *** Error: Window '[Menu]MenuItem2' was not found

    Surprisingly foll stmt is working fine.

    window.MainMenu.MenuItem2.SubMenuItem2

    [Madhu]


    ------------------

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Not Recognizing sub menu tag

    Why don't you post the method so we can see what may be wrong?

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 03:56 PM.

Copyright BetaSoft Inc.