Area :: Header
Interested in making Indie games?

Register for a Meet the Experts webinar with Digital-Tutors today!
Discussion Groups

Python

Reply
Contributor
PDWhiting
Posts: 16
Registered: ‎06-02-2007

Cutsom Layouts

19 Views, 0 Replies
03-28-2011 05:11 AM
Hey all,

I'm working on making my own tools in MB2009 and was wondering if anybody knew how to specify the x/y position of a unique tool?

def CreateTool2():    
t = CreateUniqueTool("Tools")
t.StartSizeX = 989
t.StartSizeY = 88
t.StartPosX = 154
t.StartPosY = 123

PopulateLayout3(t)
ShowTool(t)

CreateTool2()


Doing this, and specifying the StartPosX and StartPosY works in MB2011 but not MB2009. Is there another way?

Thanks :smileyhappy:
Please use plain text.