| || |
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?
line #1: data1 data2
line #2: data3
"data1" for data1
"^data1" for data2
"data3" for data3
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?
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? ...
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.