Skip to Content
avatar image
Former Member

How to use Two main windows with in a page in script ?

Hi any body explain me...

How to use Two main windows with in a page in script ?

with header data in one main window,

& Item data in other main window.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Apr 07, 2007 at 01:53 PM

    HI..,

    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!

    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.

    Here is the procedure !!

    -->Create a page window and assign it to a page.

    Choose <b>Edit --> Main windows</b>.

    A dialog box appears.

    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.

    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.

    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.

    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:

    <b>

    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>

    In label printing, the field Upper margin also varies from main window to main window:

    <b>

    Upper margin of current main window + Window height + Vertical spacing = Upper margin of next main window</b>

    -->Enter a value in the field Start position.

    This is a counter. Enter a starting value which is equal to or greater than 1.

    -->The main windows are added to the list.

    -->Save your form.

    reward if it helps u...

    sai ramesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 08, 2007 at 09:51 AM

    hi

    u cannot use two main windows in a page...

    however main window overwrite itself 99 times.

    there is an alternate method to achieve ur requirment

    in line-editor

    define a text element ex : heading

    in ur driver programe

    call fun module 'write _form'

    in this change type from body to TOP

    u will get the desired result!!!!

    reward if helpfull

    Rishi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 09, 2007 at 04:48 AM

    Hi,

    For headerdat amention in your write_form paramenter as TOP and for line items mention in your write_form parameter as BODY.

    Hope this helps you, reply for queries, Shall post you the updates.

    Regards.

    Kumar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 09, 2007 at 05:33 AM

    Kamala,

    If u want to use the same main winodow for different purposee... you achive this as follows,

    create a main window..---> then insert 2 foleders in that... for eace foleder give some condtions...so that only one of these can execue at a time... so u can use the same main window for two putpose...

    in the each foleder insert the node what ever u want as u inserted in the m,ain window

    Don't forget to reward if useful...

    Add comment
    10|10000 characters needed characters exceeded