Changing Name
Quick Question.
If I were to change the name of an element dynamically and then refer to it from that point forward as the new name, assuming that there was no other element with the new name, would that work?
ie.
<Button Name="SampleA" Location="1,1" Size="1,1" OnPress="
Name='SampleB'
"/>
SampleA.Press=true
COND = SampleB.Left
Would COND == 1 ?
If so, is there a reason not to do this?
Silat
|