View Single Post
  #11  
Unread 12-17-2010, 10:13 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

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>
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote