During Window_Loaded, part of a main window retains remnants of a dialog box. How do I remove those remnants?

Given (MainWindow:Window)
    Window_Loaded()
      dlgName dlg = new dlgName("Xxx");
      dlg.ShowDialog();
      string stName = dlg.stReturnValue;
      dlg.Close();
      MessageBox.Show("message");
      ... code consumes about ten secs ...
      MessageBox.Show("done");
during the ten secs, part of the main window retains remnants of the the dialog box.  How do I remove those remnants?
bhs67

BTW my current code works very well ... except for the remnant.  Is there a way to repaint?
Points up thread.   I already explained the problem and a solution.
You should not show a dialog during window loaded, that's a terrible idea.
Showdialog is blocking and it'll stop the controls rendering.
WPF actually renders the controls AFTER load.
Use content rendered instead.
<Window ....
ContentRendered="Window_ContentRendered">
Whilst you're looking at Window.Hide from the link above.
Take a look at Window.Show as well.
Hope that helps.
Technet articles: Uneventful MVVM;
All my Technet Articles

Similar Messages

  • Windows 7 "Shift iTunes" -- NO dialog box???

    I am at that point where I must split my iTunes library across hard drives BUT when I follow the instructions I simply cannot get the "Create New Library" dialog box to appear. No matter what I do, iTunes just starts normally (Shift key or no Shift key).
    Am I the only one in the world that doesn't get the dialog box? (Don't see anyone with the same problem in the searches I've done.)
    Windows 7 Professional with current critical and important patches.
    iTunes 10.1.1.4

    _*How to "manually" relocate selected iTunes content to an external drive or a network share*_
    1. Move your iTunes folder from the current location C:Users<User>MusiciTunes to C:iTunes. This will make subsequent operations easier.
    2. Open iTunes, since the library is "missing" you will be prompted to find it, browse to C:iTunes and select the file *iTunes Library.itl*. Check that content plays properly. In the unlikely event things don't work out simply reverse step 1.
    3. Open *Edit > Preferences > Advanced* and change the location of the iTunes Media folder to *X:\iTunes\iTunes Media* where X: is the drive letter of your external/networked drive. If necessary, use the *New Folder* button to create the folders iTunes and *iTunes Media*. When you close the Preferences dialog you may be prompted to move existing files to this new location. If so choose No. If iTunes displays an *Updating library* message leave it to complete.
    4. Select one or more files that you want moved to the external/network store, right-click on the selection and then click on *Consolidate Files*. This will copy just these files across, but leaves behind the originals.
    5. Right-click on one of the items you've just consolidated and click *Show in Windows Explorer*. Satisfy yourself that file is where it is supposed to be, then edit the address bar replacing X:<Path> with C:<Path> so that you can see the original file. Delete this, then browse to the locations of the other files from your selection and delete them also. Empty the recycle bin to recover the space.
    6. When you have finished transferring files to the new location, open *Edit > Preferences > Advanced* and reset the media folder location to *C:\iTunes\iTunes Media*.
    7. Repeat steps 3 to 6 any time you want to "archive" more material to your external/network drive.
    <hr>
    If that all sounds a little long-winded then it is. The easier way would be to have a script that simply moves selected files to their new location and tells iTunes where they now are. I have a something a bit like that, but it is currently geared up to moving files around to suit my rather specific folder structure. I could create an new version that simply tests to see if the current locations of the selected tracks begins with *X:\iTunes\iTunes Media* and relocates those that don't. No need to move the library or manually delete files. If you would be interested in such a script please let me know the drive letter for your archived files and I'll post up a link to the script.
    tt2

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

  • Problem in printing multiple main window in smartforms

    Hi Experts,
    I have requirement form client to print PO which consists of 4 page.
    First page is cosists of header and some text.
    In second page different header and line item.
    Thirs page different header and line item.
    4th page different header and line item.
    I have printed tex in main window of first page and called command to trigger
    second page main window, but i am getting dump.
    How to print the line item in the multiple page of smartforms.
    Regards,
    Udupi

    Hello ,
    To print the text below are following steps which you can follow for your requirement :
    1. Create the Four pages having the Main Window, but take care that Logic should be in First Page Main window only , other pages main window will be blank.
    2. Create the Secondary Window in second, third & fourth page  which will be same size as the main window having the text which need to be print in respective pages.
    3. Logic Part - in the main window of first page fill all the data which you need to print in 1st to 4th page in different internal table. Now for example you need to print text in first page then in Main window create table having the data of 1st page.
              To print data in Second page create one more table having data of secondpage and put the Command there (follow the same for next pages,)
    I hope this will  help you
    Thanks
    Romit Raina

  • Hi gurus in scripts i want to display more then one main window on the page

    hi gurus in scripts i want to display more then one main window on the page how it is to follow any body explain to me plz.

    Hi all,
        I am printing check printing from F110 with Z-form and it has been assigne to FBZP also..
        My client need to print the check information twise that means main window data two times.
        like this: 
           First main window.  :      invice#       amt            amt
                                               9002          4000          4000
                                               9005          5000          4000
    Al so they want like to print same in down part of the main window.
           First main window.  :      invice#       amt            amt
                                               9002          4000          4000
                                               9005          5000          4000
    For this i  have created instance main window of main window like MAIN    01,  but it is not displaying the data in instnce window data
    in the instance main window. 
    Question: Could you please let me know abt the same or good solution. How to cal main window instance , i tried with  
    /:   NEW-WINDOW      in instance main window part but it also appering in main windoe also.
    could you please let me know how to call instance main window or any other solution to get teh data like my example above.
    thx

  • Maintianing multiple line items in main window  in scripts

    Hi folks,
      i want to print multiple line items in main window of script for eg 50 line items then my main window should continue in second page also. how to maintain this.
    can u provide me sample code for this..
    Thx in advance,
    Neelima.N

    You have an internal table with 50 lines, is it correct?
    Let's say, there's a MATNR field in your internal table.
    First do, what I wrote in my previous comment.
    The create an element in yout main window, like this:
    /E LINE_ITEMS
    /  &GS_MAIN-MATNR&
    In your printer program you have to code the following:
    LOOP AT gt_main INTO gs_main.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    WINDOW = 'MAIN'
    ELEMENT = 'LINE_ITEMS'.
    ENDLOOP.
    This code will loop all 50 of your table entries.
    In the MAIN window will fit 30 entries.
    When the LOOP is reaching the 30th entry, SAP will automatically create a new page (because of the NEXT PAGE statement you set in the page settings in the SAPScript) and will continue the printing.
    Regards
    Tamá

  • Frame line not display in next page of main window

    hi Xpert,
    I am creating layout in SAP SCRIpt,it working fine only the main window of next page  frame line is not display.
    i m define next page as a FIRST page and writing main window of first page following coding
    /:           POSITION XORIGIN '0.50' CM YORIGIN '7.75' CM
    /:           SIZE HEIGHT '17' CM WIDTH '19.25' CM
    /:           BOX  FRAME 10 TW
    when i run the program first page are coming properly and only when i go in second page of output then main window lines not displaying.
    please guide me how to solve this problem.
    Regards,
    pravin

    Hi Praveen,
    In that case why you have to make the main window in the first page and secondry window.
    You can use it as manin window itself. Print the total amount in the main window itself in the first page. and copy that main window to the second page.
    In the first page under the main window create a text. and there u print the total value and text.
    Now copy the main window to the second page..only COPY DONT CREATE NEW.
    In the second page now under the main window create the table to print the line items. What every u add in the second page main window it will come in the first age also in the smartforms. But it will nto get printed in the first page.After the text to print the totals call the COMMAND option and call next page in that.
    Hope you got me..
    Regards
    Ansari

  • How to do SUBTOTAL AND TOTAL in Main Window of SAPSCRIPT.

    Hello Friends,
    I am modifying standard SAPSCRIPT of packing slip. My client wants a subtotal and total in Main Window of Script for Eg. (They want Material Number wise Subtotal and finally Grandtotal at bottom in Main Window)
    Now i got stucked up here how to do it ?
    here is my sample code.
    LOOP AT XVBPLP WHERE VENUM = SHENR.
    IF XVBPLP-POSNR IS INITIAL.
        Versandelement
          PERFORM PACKING_TREE USING XVBPLP-UNVEL.
        ELSE.
        Lieferposition (Anteil)
          VBPLP = XVBPLP.
      CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            ELEMENT = 'DELPOS'.                     "Main Window call
    clear vbplp.
    ENDLOOP.
    Pls guide me for the same.

    HI,
    For the Line items, put a ELEMENT in the Smartform, and you will call this with in the LOOP and ENDLOOP, so here with in the LOOP count the TOTAL value.
    then create new element after the Line item Element, and call this Element after the Line items prints,
    /E  LINE_ITEM
      &1& &2 & &3&     " This will be in the loop and you need to caliculate the totla here
    /E SUB_TOTAL.
    &SUb_TOTAL&  " After all the line items pritns then call this Element
    Regards
    Sudheer

  • Visual Class: Set a label in main window from dialog box

    Hi,
    Firstly my project is a visual project and at the time being has only 2 classes, both visual. One a main window and then one a dialog.
    The project is about a gym membership, and what i want it to do at the moment is to set the name text box i have in the main window by typying it in another text box in my dialog. Understand?
    This is my text field method in MainWindow...
    public JTextField getNameTextField() {
              if (NameTextField == null) {
                   NameTextField = new JTextField();
                   NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
              return NameTextField;
         }And my New Member text field in the dialog, called NameDialog
    private JTextField getNewMemberTextField() {
              if (NewMemberTextField == null) {
                   NewMemberTextField = new JTextField();
                   NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
              return NewMemberTextField;
         }In the dialog i have created a button called,"OK" and if i press it without entering a String then an error box appears which all works correctly. Then as you can see if i enter a String here i want this String to be entered and showed in my MainWindow class in the name text box.
    But this is not working and i am having trouble here after the else...
    else {
    GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();                                 mainWindow.getNameTextField().setText(getNewMemberTextField().getText());                              
    NameDialog.this.setVisible(false);Sorry but do you understand what i am trying to do? Apologies if any of it is unclear.
    Would appreciate any help. Thank you.

    Ok well there is quite a bit, but only 2 classes. This is the first class which is the main class.
         package membership;
    import javax.swing.SwingUtilities;
    import java.awt.BorderLayout;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.awt.Dimension;
    import javax.swing.JMenu;
    import java.awt.Rectangle;
    import javax.swing.JMenuItem;
    import javax.swing.JMenuBar;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JRadioButton;
    import javax.swing.ButtonGroup;
    public class GymMembershipMainWindow extends JFrame {
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JMenuBar applicationMenuBar = null;
         private JMenu memberMenu = null;
         private JMenuItem changeNameMenuItem = null;
         private JMenuItem changeAddressMenuItem = null;
         private JLabel NameLabel = null;
         private JLabel AddressLabel = null;
         private JTextField NameTextField = null;
         private JTextField AddressTextField = null;
         private JLabel MembershipTypeLabel = null;
         private JRadioButton MonthlyRadioButton = null;
         private JRadioButton AnnualRadioButton = null;
         private JLabel PersonalTrainerLabel = null;
         private ButtonGroup group = new ButtonGroup();
          * This method initializes applicationMenuBar     
          * @return javax.swing.JMenuBar     
         private JMenuBar getApplicationMenuBar() {
              if (applicationMenuBar == null) {
                   applicationMenuBar = new JMenuBar();
                   applicationMenuBar.add(getMemberMenu());
              return applicationMenuBar;
          * This method initializes memberMenu     
          * @return javax.swing.JMenu     
         private JMenu getMemberMenu() {
              if (memberMenu == null) {
                   memberMenu = new JMenu();
                   memberMenu.setText("Member");
                   memberMenu.add(getChangeNameMenuItem());
                   memberMenu.add(getChangeAddressMenuItem());
              return memberMenu;
          * This method initializes changeNameMenuItem     
          * @return javax.swing.JMenuItem     
         private JMenuItem getChangeNameMenuItem() {
              if (changeNameMenuItem == null) {
                   changeNameMenuItem = new JMenuItem();
                   changeNameMenuItem.setText("Change Name");
                   changeNameMenuItem.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                        NameDialog dialog = new NameDialog();
                        dialog.setLocationRelativeTo(GymMembershipMainWindow.this);
                        dialog.setModal(true);
                        dialog.setVisible(true);
              return changeNameMenuItem;
          * This method initializes changeAddressMenuItem     
          * @return javax.swing.JMenuItem     
         private JMenuItem getChangeAddressMenuItem() {
              if (changeAddressMenuItem == null) {
                   changeAddressMenuItem = new JMenuItem();
                   changeAddressMenuItem.setText("Change Address");
              return changeAddressMenuItem;
          * This method initializes NameTextField     
          * @return javax.swing.JTextField     
         public JTextField getNameTextField() {
              if (NameTextField == null) {
                   NameTextField = new JTextField();
                   NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
              return NameTextField;
          * This method initializes AddressTextField     
          * @return javax.swing.JTextField     
         private JTextField getAddressTextField() {
              if (AddressTextField == null) {
                   AddressTextField = new JTextField();
                   AddressTextField.setBounds(new Rectangle(165, 74, 192, 26));
              return AddressTextField;
          * This method initializes MonthlyRadioButton     
          * @return javax.swing.JRadioButton     
         private JRadioButton getMonthlyRadioButton() {
              if (MonthlyRadioButton == null) {
                   MonthlyRadioButton = new JRadioButton();
                   MonthlyRadioButton.setBounds(new Rectangle(171, 119, 73, 21));
                   MonthlyRadioButton.setText("Monthly");
                   group.add(MonthlyRadioButton);
                   MonthlyRadioButton.setSelected(true);
              return MonthlyRadioButton;
          * This method initializes AnnualRadioButton     
          * @return javax.swing.JRadioButton     
         private JRadioButton getAnnualRadioButton() {
              if (AnnualRadioButton == null) {
                   AnnualRadioButton = new JRadioButton();
                   AnnualRadioButton.setBounds(new Rectangle(269, 121, 70, 21));
                   AnnualRadioButton.setText("Annual");
                   group.add(AnnualRadioButton);
              return AnnualRadioButton;
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {                    
                        GymMembershipMainWindow thisClass = new GymMembershipMainWindow();
                        thisClass.setLocationRelativeTo(null);
                        thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        thisClass.setVisible(true);
          * This is the default constructor
         public GymMembershipMainWindow() {
              super();
              initialize();
          * This method initializes this
          * @return void
         private void initialize() {
              this.setSize(500, 300);
              this.setJMenuBar(getApplicationMenuBar());
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setContentPane(getJContentPane());
              this.setTitle("Gym Membership");
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   PersonalTrainerLabel = new JLabel();
                   PersonalTrainerLabel.setBounds(new Rectangle(30, 158, 110, 21));
                   PersonalTrainerLabel.setText("Personal Trainer");
                   MembershipTypeLabel = new JLabel();
                   MembershipTypeLabel.setBounds(new Rectangle(32, 115, 114, 24));
                   MembershipTypeLabel.setText("MembershipType");
                   AddressLabel = new JLabel();
                   AddressLabel.setBounds(new Rectangle(71, 75, 64, 24));
                   AddressLabel.setText("Address");
                   NameLabel = new JLabel();
                   NameLabel.setBounds(new Rectangle(69, 26, 57, 25));
                   NameLabel.setText("Name");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.add(NameLabel, null);
                   jContentPane.add(AddressLabel, null);
                   jContentPane.add(getNameTextField(), null);
                   jContentPane.add(getAddressTextField(), null);
                   jContentPane.add(MembershipTypeLabel, null);
                   jContentPane.add(getMonthlyRadioButton(), null);
                   jContentPane.add(getAnnualRadioButton(), null);
                   jContentPane.add(PersonalTrainerLabel, null);
              return jContentPane;
    }  //  @jve:decl-index=0:visual-constraint="10,10"and this is my other class. The dialog
    package membership;
    import javax.swing.JPanel;
    import java.awt.Frame;
    import java.awt.BorderLayout;
    import javax.swing.JDialog;
    import javax.swing.JLabel;
    import java.awt.Rectangle;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    import java.awt.Color;
    public class NameDialog extends JDialog {
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JLabel EnterMemberNameLabel = null;
         private JTextField NewMemberTextField = null;
         private JButton OKButton = null;
         private JButton CancelButton = null;
         private JLabel ErrorLabel = null;
         private String MembersName;
          * @param owner
         public NameDialog() {
              super();
              initialize();
          * This method initializes this
          * @return void
         private void initialize() {
              this.setSize(300, 200);
              this.setTitle("Enter member name");
              this.setContentPane(getJContentPane());
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   ErrorLabel = new JLabel();
                   ErrorLabel.setBounds(new Rectangle(60, 93, 151, 17));
                   ErrorLabel.setForeground(Color.red);
                   ErrorLabel.setText("YOU MUST ENTER A NAME");
                   ErrorLabel.setVisible(false);
                   EnterMemberNameLabel = new JLabel();
                   EnterMemberNameLabel.setBounds(new Rectangle(12, 5, 257, 31));
                   EnterMemberNameLabel.setText("Please enter the new members name below:");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.setName("");
                   jContentPane.add(EnterMemberNameLabel, null);
                   jContentPane.add(getNewMemberTextField(), null);
                   jContentPane.add(getOKButton(), null);
                   jContentPane.add(getCancelButton(), null);
                   jContentPane.add(ErrorLabel, null);
              return jContentPane;
          * This method initializes NewMemberTextField     
          * @return javax.swing.JTextField     
         private JTextField getNewMemberTextField() {
              if (NewMemberTextField == null) {
                   NewMemberTextField = new JTextField();
                   NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
              return NewMemberTextField;
          * This method initializes OKButton     
          * @return javax.swing.JButton     
         private JButton getOKButton() {
              if (OKButton == null) {
                   OKButton = new JButton();
                   OKButton.setBounds(new Rectangle(33, 118, 72, 26));
                   OKButton.setText("OK");
                   OKButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             if(getNewMemberTextField().getText().equals(""))
                                  ErrorLabel.setVisible(true);
                             else {
                                  GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();
                                  mainWindow.getNameTextField().setText(getNewMemberTextField().getText());                              
                                  NameDialog.this.setVisible(false);
              return OKButton;
          * This method initializes CancelButton     
          * @return javax.swing.JButton     
         private JButton getCancelButton() {
              if (CancelButton == null) {
                   CancelButton = new JButton();
                   CancelButton.setBounds(new Rectangle(181, 119, 79, 27));
                   CancelButton.setText("Cancel");
                   CancelButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             NameDialog.this.setVisible(false);
              return CancelButton;
    The problem i am having is in the OK method in the dialog class. At the 'else' i want the text that is inputted into the text field in the name dialog here, to appear into the text field in the main window for the name.
    Understand me? Sorry. Thanks

  • Columns in sapscript form in main window

    Hi,
    In the script for packing list, i want to display columns for the item details for the item details in main window.
    can any budy tell regarding how to write the box statement for the itrem details.
    regards,
    vamsykrishna.
    reward point for good answers

    hi vamsy,
          try this:
    Goto the text elements of main window spcify the following command.
       /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    WIDTH
    Width of the box. Default: WIDTH value of the SIZE command.
    HEIGHT
    Height of the box. Default: HEIGHT value of the SIZE command.
    FRAME
    Thickness of frame. Default: 0 (no frame).
    INTENSITY
    Grayscale of box contents as %.
    Default: 100 (full black)
    EXAMPLE:
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    thanks,
    raji
    reward if helpful

  • How to determine Last Lite Item of a Main Window in SCRIPTS

    Hi All,
    I have a requirement <b>to print a value after all the Line Items have been printed in a main window.</b>
    The question is <b>how do I determine the end of Line Items</b>?
    Also, this needs to be done without a change in the print program.
    Please suggest your valuable opinions.
    Thanks & Regards,
    Arun

    Hi yerram,
    1. There is no direct way,
       to know which is the last line time getting printed,
       (from inside the sapscript)
    2. Bcos, the sequence is controlled by the driver program.
    3. What u can do is check the driver program and the layout,
       to detect,
       some ELEMENT
       which must be getting printed, after all the line items are printed.
      (inside that element, u can write your own
       text to get printed)
    regards,
    amit m.

  • Title on Main Window.

    Hi All!
    I m using Forms 11gr2, and want to show Company Name on the top of the Main Window, i.e. above my menu bar.
    Previously I was using following built-in in Forms 6i successfully;
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'Company Name'),
    but now, it instead show two titles
    -- https url of form (above my menu bar).
    --Oracle Fusion Middleware title (above https url of form),
    which ultimately decreases my main windows size.
    My second problem is how to hide these two titles/windows ? This will also increase my windows size.
    Please guide me.
    Thanks & Regards.
    Edited by: ocpdev on Jan 12, 2013 7:57 PM

    Sir,
    I didn't understand your meaning of creating of config . Is it Forms Installation and Configuration? I have configured after the installation successfully.
    Now, please note my following formsweg.cfg file:
    # $Id: formsweb.cfg /main/164 2010/10/19 05:20:53 atyagi Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.example.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Forms runtime argument: BIDI digitSubstitution
    digitSubstitution=context
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Fusion Middleware Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=codebase
    # Forms applet parameter
    width=100%
    # Forms applet parameter
    height=100%
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    allowAlertClipboard=true
    # Forms applet parameter
    disableValidateClipboard=false
    # Forms applet parameter
    highContrast=false
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter, valid range [0-3]
    guiMode=3
    # Forms applet parameter
    restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar,frmicons.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
    # Applet parameter for Sun's Java Plugin
    legacy_lifecycle=false
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # Single Sign-On parameter: indicates whether session should operate in proxy
    # user support or not. Specify ssoProxyConnect=yes to enable for particular application.
    ssoProxyConnect=no
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=false
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Config for javascript integration
    applet_name=
    enableJavascriptEvent=true
    # Config variable that will indicate if heartbeat will
    # be blocked when a javascript call is a blocking call.
    # The default value if false, i.e heart beat will not be
    # blocked for any javascript calls.
    JavaScriptBlocksHeartBeat=false
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.example.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is
    # only installed with the Forms Builder and is also available for download
    # from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLjpi=webutiljpi.htm
    archive=frmall.jar,frmicons.jar
    lookAndFeel=oracle
    I want to ask one thing more. I have two formsweb.cfg files in following paths:
    F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config.
    F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\servers\WLS_FORMS\tmp\_WL_user\formsapp_11.1.2\wb1h9f\config.
    Can you give me differences in these two files?
    Thanks in advance.

  • Safari Upload file dialog box lets me click links and buttons on parent window.

    Safari Upload file dialog box lets me click links and buttons on parent window. I can even click Choose file button and open multiple Upload File dialog boxes. How can I show Upload file dialog box as modal?
    Operating system: Windows 7 and Windows XP.

    Safari Upload file dialog box lets me click links and buttons on parent window. I can even click Choose file button and open multiple Upload File dialog boxes. How can I show Upload file dialog box as modal?
    Operating system: Windows 7 and Windows XP.

  • Open window dialog box

    Dear reader,
    My application is uploaded on the web.
    I want to open the "Open window dialog box" on the web but am unable to do so.
    also I dont want to get a static file but it should be selectable. Using java beans opens a static file and its not dynamic.
    if i am wrong please correct me otherwise give an alternative.
    thanks & regards,
    bhakti.

    if i understand correctly you have a note item (based on table) on every child record? when you open the dialog box: how do you put data from notes to dialog box? in the same way as you can write it back ...

  • Prob in Smartform in Main Window -- Footer part

    Hi,
    I have 2 rows with different 2 text in Main window -> Footer part.
    I want to always keep tht 2-text together either in first page or in second page.
    Currently both r printing in different page if first page do nt have enough space.
    But my requirement is both should print on first page or second page.
    Please let me know hw to control this ?

    You can use the FOLDERs for that.
    Create a FOLDER under the Footer.
    Set "Page Protection" checkbox ON on the FOLDER.
    Put your both line types under the FOLDER
    So, your SMARTForms should like this:
    > MAIN WINDOW
      > HEADER
      > MAIN
      > FOOTER
        > FOLDER - (with page protection)
          > LINE 1
          > LINE2
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Fonts Not Embedding Consistently with PDF Export - Inconsistent Fix and Unknown Cause

    I have had ongoing problems with PDF export from FrameMaker. Sometimes the correct fonts do not embed in the PDF and Times New Roman is substituted. The problem appears and disappears and is causing me a lot of lost time and frustration. I am running

  • PL/SQL with oracle 8i lite

    Could any of you folks please let me know if i can work with pl/sql commands on oracle 8i lite and if not then is there any other ways so as to, i can work on triggers, procedures and access the pre-defined tables. reply to the above would be much ap

  • Sequence NO

    Hi friends i am using JDEveloper 11.1.1.3 .If any one can tell how to create Sequence Number in Programmaticall using view objects.

  • A weird looking icon in notification area.

    Hello friends, I own a Blackberry 9300 and recently I have had this weird looking icon in my notification area. It looks like some sort of sundial (the clock replacement we used when we did not have clocks) with a red star and 1 written before it. Tr

  • Changing keyboard on a MacBook Pro??

    I have my hands on a macbook pro from 2009, and i would like to get a norwegian keyboard for it, can that be changed?