SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Identify Parent using Unique Child object with the tag

    Hi,
    [-] CustomWin StockBondNMutualFundSales
    [ ] msw tag "[AfxWnd42s]DialogView/[PushButton]$5007/.."
    ..The above tag is working, Is it possible to recognize the parent when the PushButton has the index #1 and identifier $5007.
    I tried various formats such as

    [-] CustomWin StartWizardScreen
    [ ] msw tag "[AfxWnd42s]DialogView/[PushButton]$5007/..|[AfxWnd42s]DialogView/[PushButton]#1/.."

    but didn't work...
    What am I missing...
    Thanks
    Murali

    [This message has been edited by aspmurali (edited 04-04-2003).]
    _ _ ___________ _ _
    Murali K Parepalli

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Identify Parent using Unique Child object with the tag

    First I'd suggest looking very closely at Silk's Record/Declaration, Record/Identifier or Record/Tag dialog to watch the tag change as the mouse cursor is moved between the parent and the ...MutualFundSales dialog (and button). The difference at the beginning of the displayed tag in one of these Silk dialogs will be the parent.

    I'd then change the CustomWin to a class that Silk recognizes such as MainWin and the tags to match the contents discovered above. A StockBondNMutualFundSales.GetParent() will also report the parent.

    Another quick-n-dirty approach would be to:

    Print (Desktop.GetActive().GetParent())

    when the StockBondNMutualFundSales has input focus.


    John



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

 

 

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 11:03 AM.

Copyright BetaSoft Inc.