my requirement is to print a dynamic box in my script . actualy with the box command we have to specify the ypos which i am not able to know during the runtime cauze there may be n no. of line items getting printed before the box . can anybody help me with this issue . i have to draw the box inside the main window .