TSeroogy
08-25-2003, 12:48 PM
I'm using a variable to control the text that is passed into a DIV, TD and/or a new Window?
How do I set the size parameter such that the size of the DIV, TD or new Window adjusts to the amount of text that is included by the variable.
Example 1:
I open a new blank window using WINDOW.OPEN. The width is set such that it covers 1/3 of the screen, and it is positioned on the right side of the screen.
I fill the new window with text passed from a variable located in the parent window. How can I make sure that the height of the window will adjust to the amount of text that is passed by the variable?
Example 2:
Same scenario as Example 1, only I need to size a DIV object or a Table Cell (TD) instead.
Example 3:
I open a new window using WINDOW.OPEN. The new window includes a table. How can I open the new window making sure that the whole table is visible?
All help is much appreciated.
Best regards,
TSEROOGY
How do I set the size parameter such that the size of the DIV, TD or new Window adjusts to the amount of text that is included by the variable.
Example 1:
I open a new blank window using WINDOW.OPEN. The width is set such that it covers 1/3 of the screen, and it is positioned on the right side of the screen.
I fill the new window with text passed from a variable located in the parent window. How can I make sure that the height of the window will adjust to the amount of text that is passed by the variable?
Example 2:
Same scenario as Example 1, only I need to size a DIV object or a Table Cell (TD) instead.
Example 3:
I open a new window using WINDOW.OPEN. The new window includes a table. How can I open the new window making sure that the whole table is visible?
All help is much appreciated.
Best regards,
TSEROOGY