on 02-07-2013 11:28 AM
i have a requirement where the main window is to moved up if the header window is not present in smart form.
please do the helpful.
regards
sudhakar.
Hi sudhakar,
I think dynamically change the size/position of the window is not possible, even i have came across this scenario. Then i end up doing some work around solution for this...
In this case, you may remove the Header window and Increase the size of the main window to full... and get all the content in the header window to the main window and place it in a folder or a table or whatever then specify the condition as only on first page and not show if empty ( this one need to specify i think).... Then if the text is present then it will display and after that main window content will be shown if not present the everything occupied by main window....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudhakar,
This wont be possible since the main window is always fixed and we cannot specify a condition in the form where we can move the window above/below .
Regards,
Faiz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dwarakanta and rahman,
Dwarakanta what you said i tried all ready but the window space is display as empty in the remaining pages.
Rahman the data what i displayed is not a text objects the run time entities from database.
the issue is still open. please tell me any other ideas and i appreciate your answers.
Regards
sudhakar
Hi,
Main Window coordinates are always fixed.
If anything like text etc. needs to be displayed make use of text objects, depending on the condition you can display the text.
Regards,
Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to include the header information (no need to create a separate window for it) in the MAIN window. So if the header information is not available (add checks as required), it will be followed up with the information you wanted to print in MAIN window.
Thanks...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudhakar,
Yes.. if you create separate windows i think it is not possible to control
Include the header text (text element) in the MAIN window and add the condition to display it on the first and last pages using the system variables SYST_FORMPAGES and SFSY-JOBPAGES (use the condition tab for providing this check)
Hope it will help to resolve the probelm.
br...
Dwaraka
Define three pages as follows
1. FIRST - with HEADER1 and MAIN window
2. REMAIN - with just MAIN window
3. LAST - with HEADER2 and MAIN window
based on number of records you get try to dynamically change the NEXT page, so you can have scenario (depending on number of records)
1. FIRST->REMAIN->REMAIN->LAST
2. FIRST->REMAIN->LAST
3. FIRST->LAST
PS: I assumed header information on first and last page is different.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.