Problem In Using Controls

DevDev Member Posts: 74
Dear All,

Can any body tell me about how to use dialog box with dialog datatype like that appears at the time of posting.

Thanks in advance.

Regards

Dev

Comments

  • navuser1navuser1 Member Posts: 1,329
    edited 2008-10-01
    Tri this.....

    OBJECT Report 50005 UseOfDialogBox
    {
    OBJECT-PROPERTIES
    {
    Date=01/10/08;
    Time=[ 1:39:15 PM];
    Modified=Yes;
    Version List=;
    }
    PROPERTIES
    {
    }
    DATAITEMS
    {
    { PROPERTIES
    {
    DataItemTable=Table27;
    DataItemTableView=SORTING(No.);
    OnPreDataItem=BEGIN
    Windos.OPEN(Text001) //This will Open the Dialog Box
    END;

    OnAfterGetRecord=BEGIN
    Windos.UPDATE(1,"No."); //This will show the Current Item No.
    END;

    OnPostDataItem=BEGIN
    Windos.CLOSE; //This will Close the Same
    END;

    }
    SECTIONS
    {
    { PROPERTIES
    {
    SectionType=Body;
    SectionWidth=12000;
    SectionHeight=0;
    }
    CONTROLS
    {
    }
    }
    }
    }
    }
    REQUESTFORM
    {
    PROPERTIES
    {
    Width=9020;
    Height=3410;
    }
    CONTROLS
    {
    }
    }
    CODE
    {
    VAR
    Windos@1000000000 : Dialog;
    Text001@1000000001 : TextConst 'ENU=Item No. #1##########';

    BEGIN
    END.
    }
    }
    Now or Never
  • krikikriki Member, Moderator Posts: 9,110
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.