I need to display child frame widgets on the parent frame widget - Please help - Forum - OpenEdge General - Progress Community

I need to display child frame widgets on the parent frame widget - Please help

 Forum

I need to display child frame widgets on the parent frame widget - Please help

This question is not answered

Hi,

I would like to display child frame widgets on the parent frame.However whenever I'm running below programs values are coming blank.

 

Below are the programs - 

parentframe.p  -

 DEFINE FRAME fParent WITH SIZE 100 BY 100 TITLE "Parent".
                                                                            
RUN C:/Users/rahul.sharma1/desktop/childframe.p( INPUT FRAME fParent:HANDLE).

 

childframe.p

define input parameter iphtest as handle no-undo.

 

DEFINE BUTTON more-button LABEL "Advanced More".
DEFINE BUTTON next-button LABEL "advanced Next".
FORM more-button next-button
  WITH FRAME b-frame SIZE 10 BY 10 TITLE "Child" . 

  FRAME b-frame:frame = iphtest.
  DISPLAY more-button next-button WITH FRAME  b-frame.
  ENABLE ALL WITH FRAME b-frame.

 

Can you please help me out in figuring out why blank screen is coming?

 

Thanks

 

 

 

 

 

 

 

All Replies
  • You need to enable parent frame before running childframe program.

    Enable all with frame fParent .

    This statement will solve your problem . 

    Thank you,
    Vatsal pandya.

    Sent from Yahoo Mail for iPhone

    On Thursday, November 10, 2016, 4:02 PM, Krishna Kumar <bounce-kkjiit57@community.progress.com> wrote:

    Update from Progress Community
    Krishna Kumar

    Hi,

    I would like to display child frame widgets on the parent frame.However whenever I'm running below programs values are coming blank.

     

    Below are the programs - 

    parentframe.p  -

     DEFINE FRAME fParent WITH SIZE 100 BY 100 TITLE "Parent".
                                                                                
    RUN C:/Users/rahul.sharma1/desktop/childframe.p( INPUT FRAME fParent:HANDLE).

     

    childframe.p

    define input parameter iphtest as handle no-undo.

     

    DEFINE BUTTON more-button LABEL "Advanced More".
    DEFINE BUTTON next-button LABEL "advanced Next".
    FORM more-button next-button
      WITH FRAME b-frame SIZE 10 BY 10 TITLE "Child" . 

      FRAME b-frame:frame = iphtest.
      DISPLAY more-button next-button WITH FRAME  b-frame.
      ENABLE ALL WITH FRAME b-frame.

     

    Can you please help me out in figuring out why blank screen is coming?

     

    Thanks

     

     

     

     

     

     

     

    View online

     

    You received this notification because you subscribed to the forum.  To stop receiving updates from only this thread, go here.

    Flag this post as spam/abuse.