SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Alameda, CA
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting the tag of a known sibling

    I an writing a class declaration for a control. There are two ways that this control is instantiated in our applications:
    1) a method is called directly on the control to enter data
    2)there is a sibling of the control, a VBTextField that is used to enter data.

    I'm trying to write a conditional statement in the SetData() method that will look for the existance of this text field and use it if it's there. If not I'll simply call the method on the control itself.

    This is what I have now:
    but it doesn't work becasue I need to somehow specify the entire window higherarchy, even though for a given instance of the control I won't know what it is. How can I make this call? I bet there's a method that will give me all the parents, but I can't find it.

    ------------------
    -Josh

    [This message has been edited by VolleyJosh (edited 04-15-2003).]

    [This message has been edited by VolleyJosh (edited 04-15-2003).]
    -Josh

  2. #2
    USB
    USB is offline
    Junior Member
    Join Date
    Dec 2001
    Location
    waltham, MA, USA
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting the tag of a known sibling

    Use WndTag property to get fully qualified tag..Dont know if this is what you are looking..
    --Seshu

 

 

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 07:16 PM.

Copyright BetaSoft Inc.