Thread: Changing Name
View Single Post
  #1  
Unread 03-29-2011, 11:58 AM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,096
Default 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
Reply With Quote