SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2001
    Location
    nashville, tn, usa
    Posts
    86
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    prior text in windows declaration \"moves\" to different object

    Is there a way to limit the prior text tag to work only on the specific window declaration?

    The display:
    line #1: data1 data2
    line #2: data3

    The tags:
    "data1" for data1
    "^data1" for data2
    "data3" for data3

    The problem:
    Sometimes line #1 of the display does not include data2. As a result, data3 gets tagged as data2. Is there a way to ensure that data3 always gets tagged as data3?

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

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

    Re: prior text in windows declaration \"moves\" to different object

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by joe_dickason:
    Is there a way to limit the prior text tag to work only on the specific window declaration? ...
    <HR></BLOCKQUOTE>


    No. The #number system is merely an indexing method into a list of the members of a given class.

    If the positioning of #2 is physically consistent - it's always in the same place, you might consider using relative coordinates instead to ensure that #2 is actually #2 and not #3.

    If the list of objects is consistent - there's always only 2 or 3 - then you can obtain a list of objects with a GetChildren() call and dynamically adjust the contents of the tags to point to the correct items.


    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 12:49 PM.

Copyright BetaSoft Inc.