![]() |
Maybe Dumb
This maybe a dumb question but how does a button with no onpress know what it does. Example
Code:
<Button Location="0,96" Name="TakeCoinButton" PackLocation="left,bottom" PackSize="fixed,fixed" ScrollExtent="82,30" Size="82,30" Style="/CommonElements.PushButton.data.style" Tooltip=":5f6b97aeb8e74752:This is the amount of coin you have waiting to be picked up." TooltipDisabled=":5f6b97aea5cb3782:There is no coin left in this lot to pick up.">:5f6b97aeee5f1583:Take Coin</Button>Or even this one Code:
<Page BackgroundOpacity="1.000" DragAccepts="icon" Location="1,89" Name="AutoInventory" RStyleDefault="/CommonElements.RoundedGrouper.data.rect" ScrollExtent="137,36" Size="137,36"> |
If you are referring to buttons/elements in the stock UI, 99% of those buttons don't use UI scripting to function. They're hardcoded from the servers end and their functionality is based off their element's name matching properly (and being in the right part of the xml structure).
There's only a few places where the standard UI elements use things like "onpress" etc, mostly just so we can be able to modify them if needed. |
ok so if the name and place in the xml parent match its works as excepted, I get it so my next question is tehre a way to add a autoinventory to a window. Also is there anyway to search a list box
|
| All times are GMT -5. The time now is 07:47 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI