View Single Post
  #12  
Unread 12-17-2010, 07:14 PM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

Quote:
Originally Posted by Landiin View Post
This is how i would code the window. I would save it in its own UI folder and when I wanted the sample data I would load that UI and open the window. Once you have the data reload your normal UI.

Code:
<Composite Location="17,125" Name="Items" Orientation="Horizontal" PackSize="a,a" ScrollExtent="316,273" Size="316,273" SpacingType="Fill">
	<Page DropToParent="true" Name="ScrollPage" OnShow="'row Icon'.Visible=True
'row Item name'.Visible=True
DumpToChat.Press=True" PackSize="absolute,absolute" ScrollExtent="294,273" ScrollSize="1,44" Size="294,273" Visible="False">
		<Button Name="DumpToChat" OnPress="Text=Item ## ' ' ## Qty
say Text" />
		<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="1,0" Name="row Icon" OnShow="Parent.DumpToChat.Qty=LocalText" PackLocation="right,top" PackSize="f,f" ScrollExtent="42,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="42,42" TextAlignment="Center" TextAlignmentVertical="Center" Visible="False"/>
		<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="47,0" Name="row Item Name" OnShow="Parent.DumpToChat.Item=LocalText" PackSize="absolute,fixed" ScrollExtent="178,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="178,42" TextAlignmentVertical="Center" />
		<Text ContextCapable="true" DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="226,0" Name="row Level" PackLocation="right,top" PackSize="f,f" ScrollExtent="68,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="68,42" TextAlignment="Center" TextAlignmentVertical="Center" Visible="False"/>
		<Image AbsorbsInput="false" BackgroundColor="#4A404A" BackgroundOpacity="1.000" DropToParent="true" Name="row Selection" PackSize="absolute,fixed" ScrollExtent="293,42" Size="293,42" />
	</Page>
	<Scrollbar ArrowPressSound="sounds/button" Control="ScrollPage" HideIfUnnecessary="false" Location="294,0" MaximumSize="22,16384" MinimumSize="22,60" Name="Scroll" PackLocation="right,top" PackSize="fixed,absolute" ScrollExtent="22,273" Size="22,273" Style="/CommonElements.ScrollbarVertical.data.style" />
</Composite>
doesn't work as you have it.. the scrollpage is blank. i'll tinker with it and see if i can find a way t make that work as that makes sense
Reply With Quote