cancel
Showing results for 
Search instead for 
Did you mean: 

window size problem in script

Former Member
0 Kudos

hi friends,

how to increase window size dynamically?

i define indow height statically like

BOX XPOS '-0.5' CM YPOS '0' CM WIDTH '28' CM HEIGHT '8' CM FRAME 10 TW.

in this case if there is one line item it display whole window.

i dont want like this.

if there is one line window size will be same

if there is 2 line window size will be same

if there is 3 line window size will be same

like this.

regads

sonu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi!

Instead of trying to change the box size dynamically, I would suggest that you use separate BOX command for each size of the boundary.

At first, in the MAIN window, just draw a horizontal line. Then with each line item you can put the lines on the left and right sides and at the end draw another horizontal line to close the box.

You can also use variables to hold the values of the parameters for the BOX command. So to draw the vertical lines, with every line item you can increment the YPOS by certain interval.

Cheers!

Former Member
0 Kudos

I think you cannot increase the window size dynamically. Because the Windows are all fixed and then we

hve the data in it..

Thanks

Chaithanya