CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 1999
    Posts
    47

    Doubt working with Dialog Box

    Hai,
    I created a dialog box with parent as a frame. After executing the statment dialogbox.show(), i want the control back to the parent frame. i want the dialog box to be on top of the frame.I after executing some statements of frame, i want to dispose the frame.These statments contain some statments to set the properties of some components on the dialog box.



  2. #2
    Guest

    Re: Doubt working with Dialog Box

    I understand that u want to use a modal dialog/modeless dialog.A modal dailog will remain in focus till it is disposed(dialogbox.dispose()) and u cannot go back to the frame.In a modeless dialog u can switch between dialog and the frame.The constructor of java.awt.Dialog takes boolean modal as a prameter.Specify tru for a modal dialog.



  3. #3
    Guest

    Re: Doubt working with Dialog Box

    Thanks for responding to my doubt,
    I did the same thing you told me,after placeing this doubt in codeguru.
    any have thanks for responding to my doubt.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured