|
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.
|