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

DISABLE button(FCODE) from the GUI-Status

Hi people,

Can anyone help me out with this... I need to manipulate the PF-STATUS and 'DISABLE' some of the buttons. I am already using the

'SET PF-STATUS 'STATUS_100' EXCLUDING lt_off_commands.' but instead of hiding the buttons I would rather diable them so that they are visible on the toolbar but could not be used.

TIA,

ZAM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2005 at 10:06 AM

    Hello ZAM,

    There's a standard way to do that. When you Create / Edit a GUI status in the Menu Painter, you can choose whether you want the disabled function codes to be hidden or to be displayed as grayed out.

    Follow the menu path <i><b>Goto>Attributes>Pushbutton Assignment</b></i>. You will get a pop-up with three options. The default option is <i><b>Hide all</b></i>. Just choose <i><b>Display all</b></i> on this pop-up and activate the GUI status. Your functionality is achieved.

    If this helps, please reward the points and close the thread. Otherwise, please get back with the problem you might be facing in doing so.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2005 at 09:39 AM

    Hi ZAM,

    You could try creating different Status with enabled/disabled buttons for different variations that you require and accordingly make the appropriate one active as and when applicable.

    This way the buttons will be disabled and not invisible.

    Hope this works!

    Regards,

    Madhur

    Message was edited by: Madhur Chopra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 08, 2005 at 10:31 AM

    ...

    or for only one/some buttons:

    in Menu-painter: -> Extras - Function active <-> Function inactive

    regards Andreas

    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.