Thread: Bag test
View Single Post
  #15  
Unread 01-16-2005, 12:11 AM
Ambrosia Ambrosia is offline
A Brown Bear
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 12
Default

Quote:
Originally Posted by Talyns
Yep my solution should be able to handle it..

You would have to set slots 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 to Visible false..

Then for each of those slots change the OnShow Property to the code I posted and substitue the sizes to the sizes you would like the window to be

For instace if your bag is sposed to be 178,62 for 4 slots you would change the OnShow property of slot 3 to

Parent.MinimumSize=178,62
Parent.MaximumSize=178,62
Parent.Size=178,62

the next slot would be: 178+42
Parent.MinimumSize=220,62
Parent.MaximumSize=220,62
Parent.Size=220,62

next slot would be: 220+42

etc. etc.
Very stupid question here, since this is my first attempt with this UI Builder...

How do you get the multiple lines in the OnShow Property box? Is there some sort of field divider I need to include between Parent.MinimumSize=, Parent.MaximumSize=, and Parent.Size=?
Reply With Quote