Form B opened from form A, not being closed by form A

Thomas_Hviid_ThornThomas_Hviid_Thorn Member Posts: 92
Hej

I got a form (B) that I need to
- open from another form (A), which is a piece of cake to bake (sorry couldn't stop myself :oops:)
- and keep open when the other form (A) closes

Sample:
OBJECT Form 50030 FORM A
{
  OBJECT-PROPERTIES
  {
    Date=29-05-12;
    Time=11:19:58;
    Modified=Yes;
    Version List=;
  }
  PROPERTIES
  {
    Width=5390;
    Height=2310;
  }
  CONTROLS
  {
    { 1112800000;CommandButton;1980;550;2200;550;CaptionML=ENU=Open Form B;
                                                 OnPush=BEGIN
                                                          FORM.RUN(FORM::"FORM B");
                                                        END;
                                                         }
  }
  CODE
  {
    BEGIN
    END.
  }
}

OBJECT Form 50031 FORM B
{
  OBJECT-PROPERTIES
  {
    Date=29-05-12;
    Time=11:19:40;
    Modified=Yes;
    Version List=;
  }
  PROPERTIES
  {
    Width=5390;
    Height=2310;
  }
  CONTROLS
  {
  }
  CODE
  {
    BEGIN
    END.
  }
}

The problem is, that when FORM A is being closed, FORM B will also be closed.
Does anyone know, how I can avoid that? :?:
With Kind Regards
Thoms Hviid Thorn

Answers

Sign In or Register to comment.