What's the meaning of PushButton's "onClick" Property ?
Posted: Sat Jan 30, 2010 06:03
I saw this at TorchLight's bottomhud.layout:
<Window Type="GuiLook/ImageButton" Name="StatsButton" >
......
<Property Name="onClick" Value="guiToggleStats"/>
The property "onClick" Can't be find at the wiki's PushBtton Properties but it can be used without any error on log.
I've written a funtion named "guiToggleStats" , onfortunately it can not work with the button when it's clicked.
I'd wish to know what this "onClick" means and how could it be used.
Thanks for reading.
<Window Type="GuiLook/ImageButton" Name="StatsButton" >
......
<Property Name="onClick" Value="guiToggleStats"/>
The property "onClick" Can't be find at the wiki's PushBtton Properties but it can be used without any error on log.
I've written a funtion named "guiToggleStats" , onfortunately it can not work with the button when it's clicked.
I'd wish to know what this "onClick" means and how could it be used.
Thanks for reading.
Thanks,deer CE.