Centering BoxesUp and Some General Explanation of Boxes Coordinates
Keywords: centering boxesup coordinates
Question:
How do you center your Box? I want it to display right in the middle of the screen. I have this code. I have altered each number to many different things and it will not show up right in the middle.BoxesUp("100,200,400,400", @Normal)Do I use another Box Command?Answer:
The screen is 1000*1000.Assuming you want your box 300 wide and 200 tall
BoxesUp("350,400,650,600",@normal)The numbers are derived as follows:300 wide = 150 on each side of center
200 tall = 100 on each side of centerleft=500-150 right=500+150 top=500-100 bottom=500+100BoxesUp parameters are:left,top,right,bottomorx1,y1,x2,y2Where x1,y1 is the upper left corner. and x2,y2 is the lower right.
Article ID: W14574Filename: Centering BoxesUp and Some General Explanation Too.txt