Skip to Content
author's profile photo Former Member
Former Member

Input/Output Field's disablitiy and screen refreshing

Hi,

I have got two questions;

1. I have an input/output field named TextBoxId. I set this field's display as invisible from layout manually. But, I want to change this field's display as visible in program. How can I do?

2. I have a screen such as '0100'. I am changing one of the input/output field's text in a module. Later, I want to show changes at screen 0100. And I am calling this screen again as CALL SCREEN '0100'. This helps me, but I want to show changes without calling this screen again. Is there any command such as refresh screen?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 01:39 AM

    Hello,

    1. Try using the "invisible" field on the screen option. See example below:

    ***************

    loop at screen.

    if screen-name = 'TextBoxId'.

    screen-invisible = '0'.

    screen-active = '1'.

    modify screen.

    endif.

    endloop.

    ***************

    Use the value '0' in the invisible field to make the screen field visible again. And I just like using the active option to ensure that the field is up and ready to go...

    2. It looks like you are on screen 0100 and then as you move on to other screens, the text of a field on 0100 is changed. If that is the case, then the only way to display that screen again will be to call it again. You could always have the field appear on the following screen if the text was changed as a warning to the user. You could do this by adding the same value and text fields to the next screen, but have them invisible. And if the text or value has changed, then make them visible with the example above from your first question...

    Hope this helps...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 11, 2005 at 05:18 AM

    1. As you have set the field's property manully as invisible, Now you can't make it visible during rum time

    You should set the field's property to be visible in layout, then you will be able to make field visible or invisible during program.

    2. If you are on the same screen and making changes to screen fields in program then they will be automatically display in screen after PBO, but if you are on different screen and making changes to first screen then you have to call the first screen again as you are doing.

    Regrads

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.