UI Mod
There was an old UI mod for the store window (for selling your items) that had a button that would search for the item you had selected on the merchant. I loved it but lost it when we gained the ability to sell in our house.
The button did it had the following code in it:
OnPress="Parent.Parent.Parent.Market.TextItemName.LocalText=Parent.lblSelectedNa meAndPrice_.LocalText hide_window=(Inventory.Market) hide_window=(Inventory.Market) show_window=(Inventory.Market) show_window=(Inventory.Market)"
This didn't work when I tried it and just put something like 'lblSelectedNameAndPrice_.LocalText' in the merchant window. Can anyone tell me what the syntax is to pull out a propery of the window and put it into the merchant window?
My attempt at modding the window is included in the text below.
Thanks!
_______________________________________________________
<?xml version="1.0" encoding="utf-8"?>
<Page Activated="true" eq2usescomwndcontrols="true" Location="37,81" MaximumSize="434,1024" MinimumSize="434,471" Name="Store" PackLocation="center,center" PackLocationProp="-475/0001,-303/0001" ScrollExtent="434,471" Size="434,471" UserMovable="true" UserResizable="true">
<Page AbsorbsInput="false" ContextCapable="true" Name="MerchPage" PackLocation="fixed,fixed" PackSize="absolute,absolute" PackSizeProp="0000/0001,0015/0001" RStyleDefault="/FrameStyles.null" ScrollExtent="434,456" Size="434,456">
<Button LocalText="Browse Market" Location="47,373" Name="CommandBrowseMarket" PackLocation="center,bottom" PackLocationProp="-170/0001,-083/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="162,30" Size="162,30" Style="/ButtonStyles.text_button_default">Browse Market</Button>
<Button LocalText="Start Selling" Location="224,373" Name="CommandStartStopSelling" PackLocation="center,bottom" PackLocationProp="0007/0001,-083/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="162,30" Size="162,30" Style="/ButtonStyles.text_button_default">Start Selling</Button>
<Button LocalText="Set Price" Location="292,294" Name="CommandSetPrice" PackLocation="right,bottom" PackLocationProp="-142/0001,-162/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="111,30" Size="111,30" Style="/ButtonStyles.text_button_default">Set Price</Button>
<Button LocalText="Search for Item" Location="292,270" Name="QM_Search" OnHide="Parent.ScrollPage.QM_Selection.Visible=false" OnPress="Parent.Parent.Parent.Market.TextItemName.LocalText=Parent.lblSelectedNa meAndPrice.LocalText hide_window=(Inventory.Market) hide_window=(Inventory.Market) show_window=(Inventory.Market) show_window=(Inventory.Market)" PackLocation="right,bottom" PackLocationProp="-142/0001,-186/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="111,30" Size="111,30" Style="/ButtonStyles.text_button_default">Search for Item</Button>
<Button LocalText="List Item for Sale" Location="292,319" Name="CommandListUnlistItems" PackLocation="right,bottom" PackLocationProp="-142/0001,-137/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="111,30" Size="111,30" Style="/ButtonStyles.text_button_default">List Item for Sale</Button>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Enabled="false" GetsInput="false" Location="21,269" Name="SelectedItemFrame" PackLocation="left,bottom" PackLocationProp="0021/0001,-187/0001" PackSize="absolute,fixed" PackSizeProp="0046/0001,0002/0003" RStyleDefault="/FrameStyles.ThickRounded.rect" ScrollExtent="388,82" Size="388,82"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.inventory" Location="31,288" MouseOverColor="#FFFF00" Name="iconSelected" PackLocation="left,bottom" PackLocationProp="0031/0001,-168/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Text Font="/Fonts.FontZapf15" LocalText="Missing item name" Location="78,277" Name="lblSelectedNameAndPrice" PackLocation="left,bottom" PackLocationProp="0078/0001,-179/0001" PackSize="absolute,fixed" PackSizeProp="0218/0001,0002/0003" ScrollExtent="216,63" Size="216,63" TextAlignmentVertical="Center">Missing item name</Text>
<Page AbsorbsInput="false" BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Color="#423F36" Location="20,269" Name="SelectedItemBkg" PackLocation="left,bottom" PackLocationProp="0020/0001,-187/0001" PackSize="absolute,fixed" PackSizeProp="0046/0001,0002/0003" RStyleDefault="/FrameStyles.BkgRoundedGreyscale.rect" ScrollExtent="388,79" Size="388,79"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Enabled="false" GetsInput="false" Location="21,67" Name="boxListBoxCaptionBar" PackLocation="left,top" PackLocationProp="0021/0001,0067/0001" PackSize="absolute,fixed" PackSizeProp="0063/0001,0002/0003" RStyleDefault="/FrameStyles.single_pixel" ScrollExtent="371,19" Size="371,19"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Enabled="false" GetsInput="false" Location="22,67" Name="BoxFilter" PackLocation="top,left" PackLocationProp="0022/0001,0067/0001" PackSize="absolute,fixed" PackSizeProp="0055/0001,0002/0003" RStyleDefault="/FrameStyles.single_pixel" ScrollExtent="379,20" Size="379,20" Visible="false"/>
<Button LocalText="Item" Location="23,68" Name="Sort0" PackLocation="left,top" PackLocationProp="0023/0001,0068/0001" PackSize="absolute,fixed" PackSizeProp="0221/0001,0002/0003" ScrollExtent="213,18" Size="213,18" Style="/ButtonStyles.invisible">Item</Button>
<Button LocalText="Price" Location="233,68" Name="Sort1" PackLocation="right,top" PackLocationProp="-201/0001,0068/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="89,18" Size="89,18" Style="/ButtonStyles.invisible">Price</Button>
<Button LocalText="For Sale" Location="324,68" Name="Sort2" PackLocation="right,top" PackLocationProp="-110/0001,0068/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="68,18" Size="68,18" Style="/ButtonStyles.invisible">For Sale</Button>
<Page BackgroundOpacity="1.000" Location="22,68" Name="BlackBack" PackLocation="left,top" PackLocationProp="0022/0001,0068/0001" PackSize="absolute,fixed" PackSizeProp="0065/0001,0002/0003" ScrollExtent="369,17" Size="369,17"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Enabled="false" GetsInput="false" Location="24,84" Name="BoxList" PackLocation="left,top" PackLocationProp="0024/0001,0084/0001" PackSize="absolute,absolute" PackSizeProp="0069/0001,0203/0001" RStyleDefault="/FrameStyles.single_pixel" ScrollExtent="365,253" Size="365,253" Visible="false"/>
<Page AbsorbsInput="false" BackgroundColor="#2D251C" BackgroundOpacity="1.000" Location="22,89" Name="ScrollPage" PackLocation="left,top" PackLocationProp="0022/0001,0089/0001" PackSize="absolute,absolute" PackSizeProp="0066/0001,0282/0001" ScrollExtent="368,174" ScrollSize="42,42" Size="368,174">
<Text Font="/Fonts.FontZapf15" LocalText="Missing item name" Location="54,0" Name="row Item Name" PackSize="absolute" PackSizeProp="0207/0001,xxxx/xxxx" ScrollExtent="161,42" ShadowStyle="/ShadowStyles.ChatSimple.Outline1" Size="161,42" TextAlignmentVertical="Center">Missing item name</Text>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.item_list" MouseOverColor="#FFFF00" Name="row Icon" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Text Font="/Fonts.FontZapf15" LocalText="0" Location="215,0" Margin="2,0,2,0" Name="row Price" PackLocation="right,top" PackLocationProp="-153/0001,0000/0001" ScrollExtent="80,42" ShadowStyle="/ShadowStyles.ChatSimple.Outline1" Size="80,42" TextAlignment="Right" TextAlignmentVertical="Center">0</Text>
<Text Font="/Fonts.FontZapf15" LocalText="Yes" Location="312,0" Margin="2,0,2,0" Name="row Listed" PackLocation="right,top" PackLocationProp="-056/0001,0000/0001" ScrollExtent="56,42" ShadowStyle="/ShadowStyles.ChatSimple.Outline1" Size="56,42" TextAlignment="Center" TextAlignmentVertical="Center">Yes</Text>
<Image BackgroundColor="#4A404A" BackgroundOpacity="1.000" Name="row Selection" PackSize="absolute" PackSizeProp="0000/0001,xxxx/xxxx" ScrollExtent="368,42" Size="368,42"/>
</Page>
<Page AbsorbsInput="false" BackgroundColor="#423F36" BackgroundOpacity="1.000" Location="19,85" Name="ScrollPageBkg" PackLocation="left,top" PackLocationProp="0019/0001,0085/0001" PackSize="absolute,absolute" PackSizeProp="0060/0001,0275/0001" RStyleDefault="/rectlist.win_plain" ScrollExtent="374,181" Size="374,181"/>
<Scrollbar ArrowPressSound="sounds/button" Control="ScrollPage" Location="393,85" Name="Scroll" PackLocation="right,top" PackLocationProp="-041/0001,0085/0001" PackSize="fixed,absolute" PackSizeProp="0002/0003,0276/0001" ScrollExtent="19,180" Size="19,180" Style="/ScrollStyles.default_vscroll"/>
</Page>
<TabbedPane ActiveTab="0" DataSource="TabSource" Location="35,37" Name="Tabs" ScrollExtent="377,25" Size="377,25" Style="/ButtonStyles.tab_default" TargetPage="TabTarget">
</TabbedPane>
<Page AbsorbsInput="false" ContextCapable="true" Name="Tab0" PackLocation="fixed,fixed" PackSize="absolute,absolute" PackSizeProp="0000/0001,0015/0001" RStyleDefault="/FrameStyles.null" ScrollExtent="434,456" Size="434,456"/>
<Page AbsorbsInput="false" ContextCapable="true" Name="Tab1" PackLocation="fixed,fixed" PackSize="absolute,absolute" PackSizeProp="0000/0001,0015/0001" RStyleDefault="/FrameStyles.null" ScrollExtent="434,456" Size="434,456"/>
<Page AbsorbsInput="false" ContextCapable="true" Name="Tab2" PackLocation="fixed,fixed" PackSize="absolute,absolute" PackSizeProp="0000/0001,0015/0001" RStyleDefault="/FrameStyles.null" ScrollExtent="434,456" Size="434,456" Visible="false">
<Page AbsorbsInput="false" BackgroundColor="#423F36" BackgroundOpacity="1.000" Location="18,350" Name="Frame2" PackLocation="left,bottom" PackLocationProp="0018/0001,-106/0001" PackSize="absolute,fixed" PackSizeProp="0040/0001,0002/0003" RStyleDefault="/rectlist.win_plain" ScrollExtent="394,29" Size="394,29"/>
<Text AbsorbsInput="false" Cursor="/Cursor.Text" Font="/Fonts.FontZapf15" GetsInput="false" LocalText="Sales this Session: 99p 20g 30s 40c" Location="27,386" Name="TextTotalAll" PackLocation="left,bottom" PackLocationProp="0027/0001,-070/0001" PackSize="absolute,fixed" PackSizeProp="0058/0001,0002/0003" ScrollExtent="376,20" ShadowStyle="/ShadowStyles.Chat.Outline1" Size="376,20" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#F0D080">Sales this Session: 99p 20g 30s 40c</Text>
<Text AbsorbsInput="false" Cursor="/Cursor.Text" Font="/Fonts.Font_Chat" GetsInput="false" LocalText="<date time> wwwwwwwwwwww buys a large freshwater trout for 1p" Location="21,67" Name="TextLog" PackLocation="left,top" PackLocationProp="0021/0001,0067/0001" PackSize="absolute,absolute" PackSizeProp="0058/0001,0183/0001" ScrollExtent="376,273" ShadowStyle="/ShadowStyles.Chat.Outline1" Size="376,273"><date time> wwwwwwwwwwww buys a large freshwater trout for 1p</Text>
<Text AbsorbsInput="false" Cursor="/Cursor.Text" Font="/Fonts.FontZapf15" GetsInput="false" LocalText="Sales this Session: 99p 20g 30s 40c" Location="27,355" Name="TextTotal" PackLocation="left,bottom" PackLocationProp="0027/0001,-101/0001" PackSize="absolute,fixed" PackSizeProp="0058/0001,0002/0003" ScrollExtent="376,20" ShadowStyle="/ShadowStyles.Chat.Outline1" Size="376,20" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#F0D080">Sales this Session: 99p 20g 30s 40c</Text>
<Page AbsorbsInput="false" BackgroundColor="#423F36" BackgroundOpacity="1.000" Location="18,382" Name="Frame2" PackLocation="left,bottom" PackLocationProp="0018/0001,-074/0001" PackSize="absolute,fixed" PackSizeProp="0040/0001,0002/0003" RStyleDefault="/rectlist.win_plain" ScrollExtent="394,29" Size="394,29"/>
<Scrollbar ArrowPressSound="sounds/button" Control="TextLog" Location="396,64" Name="Scroll" PackLocation="left,top" PackLocationProp="0396/0001,0064/0001" PackSize=",absolute" PackSizeProp="xxxx/xxxx,0174/0001" ScrollExtent="16,282" Size="16,282" Style="/ScrollStyles.default_vscroll"/>
<Page AbsorbsInput="false" BackgroundColor="#423F36" BackgroundOpacity="1.000" Location="18,64" Name="Frame" PackLocation="left,top" PackLocationProp="0018/0001,0064/0001" PackSize="absolute,absolute" PackSizeProp="0055/0001,0174/0001" RStyleDefault="/rectlist.win_plain" ScrollExtent="379,282" Size="379,282"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="21,67" Name="Backdrop" PackLocation="left,top" PackLocationProp="0021/0001,0067/0001" PackSize="absolute,absolute" PackSizeProp="0046/0001,0180/0001" RStyleDefault="/FrameStyles.background_gold" ScrollExtent="388,276" Size="388,276"/>
</Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Enabled="false" GetsInput="false" Location="13,58" Name="TabFrame" PackLocation="top,left" PackLocationProp="0013/0001,0058/0001" PackSize="absolute,absolute" PackSizeProp="0025/0001,0110/0001" RStyleDefault="/FrameStyles.win_gold_plain" ScrollExtent="409,361" Size="409,361"/>
<Page AbsorbsInput="false" BackgroundColor="#554736" BackgroundOpacity="1.000" Location="16,60" Name="TabBkg" PackLocation="top,left" PackLocationProp="0016/0001,0060/0001" PackSize="absolute,absolute" PackSizeProp="0035/0001,0117/0001" ScrollExtent="399,354" Size="399,354"/>
<Button LocalTooltip="Close" Location="403,7" Name="WC_CloseButton" PackLocation="right,top" PackLocationProp="-031/0001,0007/0001" ScrollExtent="15,15" Size="15,15" Style="/ButtonStyles.close_button" Tooltip="Close" UserMovable="true"></Button>
<Button LocalTooltip="Help" Location="388,7" Name="WC_HelpButton" PackLocation="right,top" PackLocationProp="-046/0001,0007/0001" ScrollExtent="15,15" Size="15,15" Style="/ButtonStyles.help_button" Tooltip="Help" UserMovable="true"></Button>
<Button LocalTooltip="Options" Location="373,7" Name="WC_OptionsButton" PackLocation="right,top" PackLocationProp="-061/0001,0007/0001" ScrollExtent="15,15" Size="15,15" Style="/ButtonStyles.options_button" Tooltip="Options" UserMovable="true"></Button>
<Text AbsorbsInput="false" Font="/Fonts.FontZapf18" LocalText="Store" Location="11,6" MaxLines="1" Name="WC_Title" ScrollExtent="161,18" Size="161,17" TextAlignment="Center" TextColor="#F0D040" UserMovable="true">Store</Text>
<Page AbsorbsInput="false" BackgroundColor="#00FF00" eq2usescomwndcontrols="true" Location="50,421" Name="CoinPage" PackLocation="center,bottom" PackLocationProp="-167/0001,-050/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="328,32" Size="328,32">
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Location="5,7" Name="PlatinumCoinIcon" PackLocation="left,bottom" PackLocationProp="0005/0001,-025/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="18,18" Size="18,18" Stretch="false" Style="/imagelist.coins.PlatinumCoin"/>
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Location="69,7" Name="GoldCoinIcon" PackLocation="left,bottom" PackLocationProp="0069/0001,-025/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="18,18" Size="18,18" Stretch="false" Style="/imagelist.coins.GoldCoin"/>
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Location="132,7" Name="SilverCoinIcon" PackLocation="left,bottom" PackLocationProp="0132/0001,-025/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="18,18" Size="18,18" Stretch="false" Style="/imagelist.coins.SilverCoin"/>
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Location="195,7" Name="CopperCoinIcon" PackLocation="left,bottom" PackLocationProp="0195/0001,-025/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="18,18" Size="18,18" Stretch="false" Style="/imagelist.coins.CopperCoin"/>
<Text AbsorbsInput="false" actiontype="Coin" cointype="0" description="Copper" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_0" Font="/Fonts.FontZapf15" LocalText="999999" LocalTooltip="Copper" Location="215,6" Margin="0,0,5,0" Name="Copper" ScrollExtent="43,20" Size="43,20" TextAlignmentVertical="Center" TextColor="#EA9129" Tooltip="Copper">999999</Text>
<Text AbsorbsInput="false" actiontype="Coin" cointype="1" description="Silver" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_1" Font="/Fonts.FontZapf15" LocalText="999999" LocalTooltip="Silver" Location="152,6" Margin="0,0,5,0" Name="Silver" ScrollExtent="42,20" Size="42,20" TextAlignmentVertical="Center" TextColor="#A0A0A0" Tooltip="Silver">999999</Text>
<Text AbsorbsInput="false" actiontype="Coin" cointype="2" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_2" Font="/Fonts.FontZapf15" LocalText="999999" LocalTooltip="Gold" Location="89,6" Margin="0,0,5,0" Name="Gold" ScrollExtent="44,20" Size="44,20" TextAlignmentVertical="Center" TextColor="#FFEE70" Tooltip="Gold">999999</Text>
<Text AbsorbsInput="false" actiontype="Coin" cointype="3" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_3" Font="/Fonts.FontZapf15" LocalText="999999" LocalTooltip="Platinum" Location="25,7" Margin="0,0,5,0" Name="Platinum" ScrollExtent="45,18" Size="45,18" TextAlignmentVertical="Center" Tooltip="Platinum">999999</Text>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Color="#262422" DragAccepts="icon" Enabled="false" GetsInput="false" Location="0,2" Name="GrouperBkg" RStyleDefault="/FrameStyles.BkgRoundedGreyscale.rect" ScrollExtent="329,27" Size="329,27"/>
</Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,4" Name="WC_Titlebar" PackLocation="left,top" PackLocationProp="0000/0001,0004/0001" PackSize="absolute" PackSizeProp="-003/0001,xxxx/xxxx" RStyleDefault="/FrameStyles.title_gold" ScrollExtent="437,30" Size="437,30"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,21" Name="WC_Frame" PackLocation="left,top" PackLocationProp="0000/0001,0021/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0020/0001" RStyleDefault="/FrameStyles.win_gold" ScrollExtent="434,451" Size="434,451"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="8,23" Name="WC_Backdrop" PackLocation="left,top" PackLocationProp="0008/0001,0023/0001" PackSize="absolute,absolute" PackSizeProp="0021/0001,0034/0001" RStyleDefault="/FrameStyles.background_gold_stretch" ScrollExtent="413,437" Size="413,437"/>
<RectangleStyle Center="ListBackground" CenterShrinkH="true" CenterShrinkV="true" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="ListBackgroundStyle" NorthStretch="false" TitleStretch="false" WestStretch="false"/>
<ImageStyle Filter="true" Name="ListBackground">
<ImageFrame Name="image" Source="images/window_elements_specific.dds" SourceRect="143,93,181,137"/>
</ImageStyle>
<ImageStyle Filter="true" Name="selection_back">
<ImageFrame Name="black_back" Source="images/chat1.dds" SourceRect="14,74,15,75"/>
</ImageStyle>
<TextboxStyle CaratColor="#FFFF00" CaratWidth="2" Cursor="Text" DisabledTextStyle="/Fonts.FontArial14" Name="InputStyle" NormalTextStyle="/Fonts.FontArial14" SelectedTextStyle="/Fonts.FontArial14" SelectionColor="#C0C020" SelectionOpacity="1.000" TextColor="#F0C040" TextPadding="3,1,3,1"/>
<Page AbsorbsInput="false" Location="313,35" Name="TabTarget" ScrollExtent="17,11" Size="17,11">
<Page Enabled="false" Location="-25,1" Name="P3" ScrollExtent="45,14" Size="45,14" Visible="false"/>
<Page Location="-49,3" Name="P1" ScrollExtent="62,16" Size="62,16"/>
<Page Enabled="false" Location="-25,1" Name="P2" ScrollExtent="45,14" Size="45,14" Visible="false"/>
</Page>
<DataSource Name="TabSource">
<Data Name="PricingListing" target="P1" text="Merchandise"/>
<Data Name="VaultListing" target="P2" text="Vault Merchandise"/>
<Data Name="Sell" target="P3" text="Sales Log"/>
</DataSource>
</Page>
|