Quote:
Originally Posted by battosa
i'm in a raid right know i will try it as soon as i can , thanks for all your help, advice and for pointing my mistake
so the IsScript="true" launch the script without any button if i understand correctly
|
That and it stops the script from activating the object thus leaving it activated and the OnActivate code never firing again for the live of the loggin.
Quote:
Originally Posted by battosa
is there a limitation for using it or can it work with any kind of scripting ?
|
Nope none.
Quote:
Originally Posted by battosa
in this line
<Data Name="TP001" text="-------------------Spell-------------------" IsScript="true" />
you code the IsScript on true but on this one , it's on false
<Data Name="TP006" text="----------------Item--------------------" IsScript="false" />
is there a reason ? i would like to understand how it work 
|
Copy and paste FTW! (mistyped, I corrected it but not in time it seems)
Quote:
Originally Posted by battosa
Edit i saw the button line after re-reading the code
<Button Location="1,1" Name="TpButton" OnActivate="" OnPress="Activated=Parent.Tp_Dropdownbox.SelectedItem.IsScript OnActivate=Parent.Tp_Dropdownbox.SelectedItem.Script" ScrollExtent="19,19" Size="19,19" Style="/CommonElements.SmallPushButton" />
is it normal to leave this OnActivate empty ?
|
Normal? Hmm It doesn't matter if you leave it blank or leave that attribute out. I just blanked it out and moved on..