on 02-14-2008 11:23 AM
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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.