Announcement

Collapse
No announcement yet.

how to disable link button !!

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to disable link button !!

    Hello,

    Can anyone know how to disable by programming an existing Link button in form application.

    I have already try sc_btn_display ('cap_DETAIL', 'off') but not working

    Thanks in advance
    Nac

  • #2
    This link is not a button, when is a link, it has properties and can be disabled:

    Click this link and disable property: Allows you to change automatically during update.

    Comment


    • #3
      Thanks alvagar for answering, but my problem is that :

      - in my form application I have a field named "Customer nr " with a link configurated .
      - in some cases this field must be a label field, only displaying, but the link button remain active !!! if you have an ajax events associated, your label field change

      So, I think there must be a solution to make link inactive when the associated field is disabled

      Thanks
      Nac

      Comment


      • #4
        Try and play with sc_link macro

        sc_link (Column, Application, Parameters, "Hint", "Target", Height, Width) This macro dynamically creates or modifies links between grid applications and other applications.
        /Giuseppe

        Professional Scriptcase Services
        Some Customers opinions

        Comment


        • #5
          I knew this makro but, my links are already made so I tried to found a solution without changing my code.

          I think I have to do that

          Thanks Giu

          Comment


          • #6
            I think you can have a variable type flag for know if you can change this value or not when event ajax is fired.

            Comment

            Working...
            X